User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Issue detected by @laoneo
Message "Group/Fieldset does not have an accessible name" due to the missing legend in user login.
This PR adds an accessile name to the fieldset.
Open the user login. Check the sourcecode
There is only <fieldset>
The IBM accessibility checher shows an error "Group/Fieldset does not have an accessible name"
There <fieldset role="group" aria-label="Login with user credentials">
The IBM accessibility checher is happy
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_users Language & Strings |
or do as we do elsewhere
<legend class="visually-hidden">
aria-* should always be a last resort when no other solution is possible
The first element inside the fieldset must be a legend element, which provides a label or description for the group
and you dont need to add the role either as group is implicit for a fieldset https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/fieldset
Thank you
Legend is possible it is only requested to have an ara-label but feel free to make your pr
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-15 13:08:41 |
Closed_By | ⇒ | chmst | |
Labels |
Added:
a11y
bug
|
Why not add a visible legend?