[beta4] Remove unnecessary ARIA attribute from tab panel

Created on 18 August 2023, over 1 year ago
Updated 19 August 2023, over 1 year ago

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

  1. Inspect the tab panel preview markup.
  2. Observe the presence of an aria-selected attribute on the tab panel wrapper element.

Proposed resolution

Remove handling of the aria-selected attribute from the tab panel pattern Twig file.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France spryah

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024