-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Accessibility] Accessibility feedback #655
Comments
Yes, this library is 508 compliant as much as bootstrap itself is. We have keyboard navigation/control of dropdowns and such, provide |
Take modal dialog for example (https://getbootstrap.com/docs/4.0/components/modal/):
Similar to other components like menu, tooltip, accordion, tabs and etc. Actually all the accessibility implementation for those components can be found in Bootstrap 4 official website. |
So 4 and 5 are the only issues, 4 is being tracked, but event bootstrap has a11y issues with it's implementation. 5 is related (and would probably be fixed at the same time), but can be it's own issue. |
Thanks @TheSharpieOne. Yes 4 and 5 are the only issues but both are very important for accessibility. Hopefully they can get fix soon. The following are other accessibility issues I find: Tooltips
Popover
Tabs
Collapse
Radio buttons and checkbox buttons
breadcrumb
Button Dropdown and Dropdowns
|
Here is the question I asked on Bootstrap 4 github page regarding their accessibility standard:
Actually we did test for Bootstrap 4 before and we find out most JQuery components they build are accessible for both keyboard and screen reader users and also meet WCAG 2.0 AA/AAA standard. I think Accessibility implementation of this library should align with official JQuery components of Bootstrap 4, because Accessibility is also a very important feature of Bootstrap 4. |
I'd like to work on this. Can I start doing it @TheSharpieOne ? |
@gergely-nagy go for it |
Further issues: make sure you're not adding extraneous semantic HTML elements when using these components. For example, |
I didn't have much time in the last 2 months, but I will work on this issue again. |
I'm currently having some issues with the navbar. The tab key / arrow keys for dropdowns work as expected. However in all the examples the tab button will 'skip' all the links inside the dropdown when it's closed. For me, it tabs through all the links inside the dropdown regardless if the dropdown is open. How do i fix this!? I just want it to work like the examples. I've updated all my packages to the latest and double checked that I have all the classnames the example has. Not sure where to go from here.... @TheSharpieOne @changLiuUNSW any suggestions? The boss is breathing down my neck for this one... |
@mackbrowne Are you able to post code or create a demo showcasing this (https://stackblitz.com/edit/reactstrap-v6?file=Example.js) |
well this is awkward, I stripped out a bunch of stuff just to get the example working and it works now... the biggest difference I can see is that I've wrapped a bunch of Reactstrap components with styled-components. This has never been an issue in the past, so I can't imagine that's the problem. I just don't know what is.... Anyway @TheSharpieOne thanks for the sanity test. I'll report back when I figure out what specifically is breaking it. |
I am closing this as I have opened #1012 to track tooltip a11y and #310 tracks the other outstanding issue. @mackbrowne please open a new ticket with more information about your particular issue if you still require assistance. |
@TheSharpieOne and anyone else, just reporting back. I'm using animation to open/close the dropdown menu. I found this snippet. it ended up being the issue.
on the DropdownMenu component, for some reason breaks the tabbing on the navbar, no idea why but that was the issue. |
That snippet is for bootstrap v3, I may not be compatible with bootstrap v4 which is why you get that issue |
Came here after I noticed the Accordion (collapse) does not have Bootstraps aria-expanded controls. https://getbootstrap.com/docs/4.0/components/collapse/#accessibility Has there been a fix for this? |
@anevaude I opened #1627 to track that effort. |
Oh awesome, thanks! I'll follow that. |
In the official Bootstrap 4 all the components written in JQuery are fully accessible.
https://getbootstrap.com/docs/4.0/getting-started/accessibility/
But in this library, most components are not accessible at all. Does this library totally ignore the accessibility?
Actually most big companies like us Bank, we take accessibility very seriously when we choose a third part library.
We really hope the author of this library can take accessibility seriously like React-Bootstrap.
https://github.com/react-bootstrap/react-bootstrap/wiki#100-roadmap (See Accessibility section)
The text was updated successfully, but these errors were encountered: