-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Labels
accessibilityImprove accessibilityImprove accessibilitypriority: highSeverity level: 1Severity level: 1
Milestone
Description
Description of the issue
When the keyboard is used to move the focus through a webpage, the focus should not move onto links which are hidden from view.
Expected behavior
The pfe-accordion has collapsed panels which contain links, and so the focus should only move to each heading (and past the hidden links), unless the panel is expanded & visible.
Impacted component(s)
- pfe-accordion
Steps to reproduce
- Go to https://patternflyelements.com/components/accordion/
- Click on the Accordion heading at the top of the page (to skip the nav)
- Hit the tab key several times.
- Notice that the first accordion header is focused, and then the next time you hit the tab key the focus disappears. This is because it's focused on a link within the first panel. When you hit tab again, the focus will move to the second accordion header.
Screenshots
(the link in the bottom left is an empty anchor link within the hidden panel)
Metadata
Metadata
Assignees
Labels
accessibilityImprove accessibilityImprove accessibilitypriority: highSeverity level: 1Severity level: 1
