Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11Y | The button on the top row header is hidden to visual users but not screen reader users. #336

Open
hilcurtis opened this issue Nov 25, 2020 · 0 comments

Comments

@hilcurtis
Copy link

ID
1847345116

Violation
Ensure content that is intended to be hidden from all users is not rendered by assistive technology

Module Name
03a Header Menu - Top Row

Description
[Issue]
The button on the top row header is hidden to visual users but not screen reader users.

[User Impact]
When the content that is meant to be hidden to all users is exposed to screen reader users, this may cause users to read incorrect information or even activate links that are off screen.

[Code Reference]
<button class="esri-header-inline-title-control" id="esri-header-inline-title-control" tabindex="-1" aria-expanded="false" aria-controls="esri-header-inline-title-content">[]</button>

Note
[Recommendation]
For all content that is visually hidden and meant to be hidden to all users, hide this content with CSS display: none.

[Compliant Code Example]

<div style="display:none;"> content not displayed by browsers and hides keyboard focus for any controls.
</div>

<div style="visibility:hidden;"> content not displayed by browsers but
whitespace is kept and hides keyboard focus for any controls.</div>

<div aria-hidden="true">content not rendered by assistive technologies
that support the ARIA specification but focus, is kept for keyboard, ensure to remove focus for any controls if this is used to hide from keyboard users too.</div>

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant