EnCiv / undebate

Not debates, but recorded online video Q&A with candidates so voters can quickly can get to know them, for every candidate, for every election, across the US.
Other
20 stars 14 forks source link

ADA Compliance Guidance Investigation #19

Closed ddfridley closed 4 years ago

ddfridley commented 4 years ago

Government agencies require Americans with Disabilities Act compliance. What need research into what do we need to do to comply, and how do we test it after we have implemented it. Also, is there a way to engage with those who have disabilities in order to directly collect their needs and address them, and then engage them for actual user testing.

The output of this task should be a document that references HTML and/or React requirements for ADA compliance, tools for testing, resources for help/assistance.

charlotteshih commented 4 years ago

Accessibility Best Practices

These are the guidelines that websites must follow to be ADA-compliant. Essentially, any visual or audio element must be accompanied by descriptive text. Furthermore (I'll get more into this in the next section), HTML must be semantic -- that is, the HTML tags used on a page must be descriptive of the function of the content around which the tag is wrapped.

Accessible HTML/CSS/JavaScript

I found these three articles that go into great detail about writing accessible code:

They're all great reads (about 10 minutes each) and I definitely recommend setting aside some time to look through them. What it really boils down to is using descriptive tags like <header>, <footer>, <nav>, <main>, <section>, <article>, etc. wherever possible, as these semantic tags are picked up by screen readers. And styling the website in a way that fonts are at a legible size, and colors are properly contrasted.

Here's a good breakdown of the purposes of the more common semantic tags and how to properly implement them.

Here's a page with many examples of semantic forms.

Testing Accessibility

The A11Y Project: Checklist to ensure that your website is fully accessible

Toptal Color Blind Filter: input your URL and it displays how your website appears to viewers with various forms of color blindness

Lighthouse: Chrome extension that generates a report on a webpage's performance, accessibility, best practices, and SEO

Screen readers: macOS pre-installed with VoiceOver, MDN recommends NV Access for testing in Windows and Orca for testing in Linux.

Manual testing with keyboard-only navigation is another great way to ensure that the site is fully navigable for users unable to use a mouse.

ddfridley commented 4 years ago

@charlotteshih @ExperimentsInHonesty is looking for someone to help the engage project get to ADA compliance before they launch in 2 weeks. You did a great job on this, and I wanted to help them get he word out. See #general on the hackforla slack.