[Obs Create Dashboard][KEYBOARD]: Focus must be set on the EuiScreenReaderOnly
component that comes first in DOM on initial render
#195027
Labels
defect-level-2
Serious UX disruption with workaround
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
obs-accessibilty
A11Y issues in the Obs. solution.
Project:Accessibility
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
WCAG A
Point of contact
@petrklapka
Description
The Obs Create Dashboard has a screen reader only H1 that is taking keyboard focus on first render. This is an older pattern that has been updated with an
EuiScreenReaderOnly
that is the first item in the DOM and should receive focus on render. This makes for a more consistent UX for keyboard users and announces the page consistently for screen reader users while retaining teh H1 as "the big idea". Screenshot attached below.Steps to recreate
Create dashboard
buttonTab
and verify you never see the "Skip to main content" linkEnvironment
Screenshots or Trace Logs
Proposed solution
Focus should be consistent with all other views, going to the first
EuiScreenReaderOnly
component in the DOM. The H1 can stay in the DOM and should for screen readers, even if it's visually hidden.Acceptance criteria
Tab
once highlights the skip to content link on first renderWCAG or Vendor Guidance (optional)
The text was updated successfully, but these errors were encountered: