-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Enable and fix eslint rules (9) #3574
Comments
Update the style guide with any changes that come out of this, update the documentation with best practices. |
Resources 1. SIMULATED CHECKBOX CONTROLSComponentsSwitchIs backed by a checkbox, but may need additional ARIA attributes for compliance. Current state of compliance
Checkbox
How it should work
How it should work
2. SIMULATED BUTTON AND LINK CONTROLSComponentsUnknown. They live in the shadows. What to look out for:
Any element that is not an How it should work
Current state of complianceUnknown. Definitely not 100% compliant. 3. ARIA TOGGLE BUTTONSButtonHas a toggle state that could be used to simulate checkbox functionality. Current state of compliance
How it should work
4. TOGGLE BUTTON ACCORDION CONTROLSComponentsCardCard component behaves like an accordion when you click on the Current state of complianceNone How it should work
5. EXPANDABLE LINK ACCORDION CONTROLSSimilar to This is for link 6. BASIC SIMULATED RADIO CONTROLSComponentsNone How it should work
7. HORIZONTAL SLIDER CONTROLComponentsSliderIs Aria compliant with latest version. 8. VERTICAL SLIDER CONTROLComponentsSliderIs Aria compliant with latest version. 9. SINGLE-SELECT SIMULATED LISTBOX CONTROLComponentsList
How it should work
10. SINGLE-SELECT SIMULATED LISTBOX CONTROL PLUS TRI-STATE CHECKABLE OPTIONSComponentsListThe List with extra options like switchHow it should work
11. MULTISELECTABLE SIMULATED LISTBOX CONTROLComponentsListThe Order tableOrder table uses How it should work
12. SUBSTRING EDITABLE COMBOBOXComponentsReactSelect (react-select)
13. SIMULATED READONLY COMBOBOXReactSelect
14. INTERACTIVE GRID CONTROLComponentsReactTable (react-table)
How it should work
15. DISABLED DATE RANGE COMPOUND COMPONENT DATE PICKER CONTROLComponentsReact Dates (react-dates)
How it should work
16 & 17. BUTTON: BASIC LEFT-CLICK HORIZONTAL/VERTICAL POPUP MENU CONTROLDropDownMenu
How it should work
18. ARIA TEXTBOX: BASIC RIGHT-CLICK POPUP MENU CONTROLWe don't do this anywhere, and probably should never do this anywhere. 19. ARIA TAB GROUPComponentsTabList and TabItemThe TabList and and TabItem comoinent is core/ui How it should work
20. ARIA TAB GROUP: COMPLEX WITH RIGHT-CLICK POPUP MENU CONTROLThis is a right click menu on the tab item itself. We don't do this anywhere, and probably should never do this anywhere. 21. ARIA TREE CONTROLWe don't do this anywhere. 22. ARIA TREE: COMPLEX WITH RIGHT-CLICK POPUP MENU CONTROLWe don't do this anywhere. 23. CUSTOMIZED AUTO-ROTATING CAROUSEL CONTROLComponentsnone in Reaction Core. We used react-slick on in another project. How it should work
24. STATIONARY SLIDESHOW CONTROL (left / right arrow)none in Reaction Core. We used react-slick on in another project. How it should work
25. SIMPLE HELP TOOLTIP CONTROLComponentsnone. This relates to a tooltip for a text input How it should work
26. SIMPLE ERROR TOOLTIP CONTROLComponentsnone. This relates to a validation tooltip for a text input How it should work
27. MODAL DIALOG CONTROLComponents
How it should work
28. AGRESSIVE MODAL DIALOG CONTROLComponents
How it should work
29. BASIC POPUP CONTROLComponents
How it should work
30. POPUP PROGRESSBAR CONTROLWe don't have a page blocking, popup progress control. Only spinners for elements moving waiting for data. 31. ARIA TOOLTIPSComponents
How it should work
32. SIMPLE WEB CHAT CONTROL
33. SIMPLE CHECKBOX CONTROLS
|
Documentation for the plugin: https://www.npmjs.com/package/eslint-plugin-jsx-a11y You could actually try switching to their |
Uncomment the following lines in .eslintrc, run
npm run lint
, and fix all errors, either manually or usingeslint --fix
The text was updated successfully, but these errors were encountered: