Problem/Motivation
As shown on the Design System's Tab component page, the aria-selected attribute should be only on the tab buttons and not on the panels.
See also: Example of Tabs with Automatic Activation | APG | WAI | W3C
Steps to reproduce
- Inspect the tab panel preview markup.
- Observe the presence of an
aria-selectedattribute on the tab panel wrapper element.
Proposed resolution
Remove handling of the aria-selected attribute from the tab panel pattern Twig file.
Issue fork ui_suite_dsfr-3381843
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
spryah commentedComment #6
pdureau commented