koalyptus / TableFilter

A Javascript library making HTML tables filterable and a bit more :)
https://www.tablefilter.com
MIT License
323 stars 95 forks source link

Accessibility, Disability Discrimination Act, Equality Act 2010 #763

Open cjohnsonuk opened 4 years ago

cjohnsonuk commented 4 years ago

Enhancement/feature description We are required to make sure our pages are accessible for people that use assistive technology to access our service under the UK's Disability Discrimination Act and more recently Equality Act 2010. Some of this is colour contrast to account for people with visual impairment. I'm guessing this may be a case of having an alternative theme / set of css files for high contrast. Some is missing elements such as form elements not having labels.

Steps which explain the enhancement/feature It would be good if Tablefilter created content that passed the tests for WCAG A and WCAG AA (https://www.w3.org/WAI/standards-guidelines/wcag/) . We test using tools like the Axe plugin in (https://github.com/dequelabs/axe-core) in Google Chrome

Why would the enhancement be useful to most users Developers in the UK and other countries that have legislation relating to accessibility for users of assistive technology would benefit from pages enhanced with Table filter being compliant with legislation.

Screenshots and GIFs Screenshots and GIFs which demonstrate the steps or part of TableFilter  the enhancement suggestion is related to image

Additional context

Here's some text from the report generated on one of the demo tablefilter pages:

Issue description Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds Impact: serious Element location .even[validrow="true"]:nth-child(2) > td:nth-child(3) > a[target="_blank"] Element source Russia

Issue description Ensures every form element has a label

Impact: critical Element location .pgSlc Element source