You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…l and li elements
`TabHeader` now renders a `div` container and `TabTitle` renders either a `button` or `a` element.
This fixes accesibility issues raised against the old implementation relating to focusable children
not being read out by screen readers: `tabIndex` for `ValidataionIcon` is now null and
`customLayout` story has been updated to remove `ActionPopover`.
fix#4517
### [101.3.1](v101.3.0...v101.3.1) (2021-11-26)
### Bug Fixes
* **tab-header, tab-title:** refactor components to no longer render ul and li elements ([42be1eb](42be1eb)), closes [#4517](#4517)
Current behaviour
When an
href
string is passed to aTab
it renders an anchor element which causes an axe warning about nested interactive controlsExpected behaviour
No axe warning please
CodeSandbox or Storybook URL
https://carbon.sage.com/?path=/story/tabs--with-link-as-a-tab
JIRA Ticket (Sage Only)
No response
Suggested Solution
No response
Carbon Version
latest
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
What Operating System are you seeing the problem on?
MacOS
Anything else we should know?
No response
Confidentiality
The text was updated successfully, but these errors were encountered: