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

React-Bootstrap components are not meeting ADA website accessibility standards #4371

Closed
medicalspanw opened this issue Aug 30, 2019 · 4 comments

Comments

@medicalspanw
Copy link

Is your feature request related to a problem? Please describe

Navbar, dropdowns and possibly other components are not compling with ADA website accessibility standards. That is, one cannot use a simple keyboard to navigate through the website when constructed with these components. Using these components requires a touch screen, mouse and/or some tactile interface. People with limited dexterity cannot use these more advanced interfaces and will have a difficult time navigating through a website constructed with these components.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
To replicate the problem:
Go to the github users guide for Navbars at:
https://react-bootstrap.netlify.com/components/navbar/#navbars-overview

Mouse click the "#" symbol that appears after the heading "Overview". Now attempt to navigate through this page using the tab key.
Click 1: advances to the link "containers".
This is correct.

Click 2: advances to the Navbar.Brand component labeled "React-Bootstrap".
This is correct.

Click 3: advances to the search window.
This is incorrect, as it bypasses the Nav.Links to "Home" and "Link" and bypasses the Nav.Dropdown component labeled dropdown.

Describe the solution you'd like

The Nav.Links and Dropdowns and other components require something equivalent to an anchor tag for the browser to recognize a landing spot for each tab click. Further, the dropdowns need to open with a return. The dropdown items need to be accessible via the arrow keys and need to be activated with a return key.

A clear and concise description of what you want to happen.
(See above)

Describe alternatives you've considered

The alternative is to use a tactile interface component, such as a mouse. However, this defeats the intent of ADA website accessibility standards.

A clear and concise description of any alternative solutions or features you've considered.
I have tried adding a discrete anchor tag within these components. This has not worked.

Additional context

Add any other context or screenshots about the feature request here.

@jquense
Copy link
Member

jquense commented Aug 30, 2019

Hey thanks for the report, The behavior you're seeing with nav links is a bug we are aware of and working on. You can use beta.10, which is what the host docs point too and see that that the nav link behavior is correct. https://react-bootstrap.github.io/components/navbar/#navbars-overview

@medicalspanw
Copy link
Author

medicalspanw commented Sep 3, 2019 via email

@jquense
Copy link
Member

jquense commented Sep 3, 2019

yup will be fixed in the next release!

@medicalspanw
Copy link
Author

medicalspanw commented Sep 4, 2019 via email

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

2 participants