1.If you check any page with tab panels eg article edit and run a checker then you will see that the tabpanel produces an error
Interactive component with ARIA role 'tabpanel' does not have a programmatically associated name
This is solved by adding 'id' and 'aria-labelledby' attributes to tab buttons and panels for better accessibility.
6.2
I made a PR to resolve this upstream with a change in the (custom elements repo)[https://github.com/joomla-projects/custom-elements/pull/266]
Opening the issue here so that someone can check that repo and make the required updates there so that they will "trickle down" into Joomla
| Labels |
Added:
No Code Attached Yet
a11y
|
||
| Title |
|
||||||
@Nikhil-sinhaa thank you for your contribution, unfortunately this is not the correct way to submit a PR.
Please make a PR against joomla/joomla-cms, Branch 6.2.
Commit your changes so we can see and test them. You did it correctly in your PR 48711.
@chmst there is already a PR! @Nikhil-sinhaa is just confirming that the PR works
Successful Verification of Issue #48705 / PR #266
-Before PR
Tab button: had no id attribute.
Tab panel: had no aria-labelledby attribute.
-After PR
Each tab button now has a unique ID:
ContentEach tab panel is programmatically associated with its button: