You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/coding_style/accessibility.md
+46-45Lines changed: 46 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,51 +13,6 @@ Other parts of web accessibility involve writing the interview in a way that the
13
13
14
14
To help you find accessibility problems in your interview you can use the [WAVE browser extension](https://wave.webaim.org/extension/), or if you want to check accessibility of your interview automatically, you can use the [ALKiln testing framework](../components/ALKiln/automated_testing.mdx#accessibility).
15
15
16
-
## Accessibility testing tools
17
-
18
-
Testing your interview with assistive technology and accessibility tools is essential to ensure it works for all users. Here are some popular tools to help you test and validate the accessibility of your interviews:
19
-
20
-
### Screen readers
21
-
22
-
Screen readers are assistive technologies that read content aloud for users who are blind or have low vision. Testing with screen readers helps ensure your interview is usable for these users.
23
-
24
-
**Free screen readers:**
25
-
***[NVDA (NonVisual Desktop Access)](https://www.nvaccess.org/)** - Free, open-source screen reader for Windows. Widely used and regularly updated.
26
-
***[VoiceOver](https://www.apple.com/accessibility/vision/)** - Built into macOS and iOS devices. Activate with Command+F5 on Mac.
27
-
***[Orca](https://help.gnome.org/users/orca/stable/)** - Open-source screen reader for Linux systems.
28
-
***[ChromeVox](https://chrome.google.com/webstore/detail/screen-reader/kgejglhpjiefppelpmljglcjbhoiplfn)** - Chrome extension screen reader, useful for quick testing.
29
-
30
-
**Commercial screen readers:**
31
-
***[JAWS (Job Access With Speech)](https://www.freedomscientific.com/products/software/jaws/)** - Popular commercial screen reader for Windows with advanced features.
32
-
***[Dragon NaturallySpeaking](https://www.nuance.com/dragon.html)** - Voice recognition software that can be used alongside screen readers.
33
-
34
-
### Browser accessibility checkers
35
-
36
-
These tools can automatically scan your interview pages for accessibility issues:
37
-
38
-
***[WAVE Web Accessibility Evaluator](https://wave.webaim.org/extension/)** - Browser extension that highlights accessibility issues directly on the page.
39
-
***[axe DevTools](https://www.deque.com/axe/devtools/)** - Browser extension for Chrome, Firefox, and Edge that integrates with developer tools.
40
-
***[Lighthouse](https://developer.chrome.com/docs/lighthouse/)** - Built into Chrome DevTools, includes accessibility auditing alongside performance testing.
41
-
***[Accessibility Insights](https://accessibilityinsights.io/)** - Microsoft's accessibility testing tools for web and Windows applications.
42
-
43
-
### Manual testing tools
44
-
45
-
***[Colour Contrast Analyser](https://www.tpgi.com/color-contrast-checker/)** - Desktop application for testing color contrast ratios.
46
-
***[Accessibility bookmarklets](https://accessibility-bookmarklets.org/)** - Collection of browser bookmarklets for quick accessibility checks.
47
-
***[Web Accessibility Toolbar](https://www.tpgi.com/web-accessibility-toolbar/)** - Internet Explorer and Firefox toolbar with accessibility testing features.
***[ALKiln](../components/ALKiln/automated_testing.mdx#accessibility)** - Assembly Line's testing framework with built-in accessibility testing using aXe-core.
58
-
***[Pa11y](https://pa11y.org/)** - Command-line accessibility testing tool that can be integrated into CI/CD pipelines.
59
-
***[aXe-core](https://github.com/dequelabs/axe-core)** - Open-source accessibility testing engine used by many tools.
60
-
61
16
## Use colors that contrast strongly with their backgrounds
62
17
63
18
One thing that you have control over in your interviews is your interview "branding", including fonts, styles, and importantly, colors. Making sure the text colors and background colors that you choose have high enough contrast is important to both low-vision and sighted users. Web accessibility standards like WCAG 2 define the **minimum** proper color contrast between an element and it's background color as 4.5:1. For larger text like headings, the minimum is 3:1.
@@ -141,3 +96,49 @@ Comboboxes, as implemented in docassemble, have [several usability problems](htt
141
96
```
142
97
143
98
* if the combo box suggestions are validated by the interview, add some some of those suggestions into examples on the page (which makes them easier to discover for some users) and turn the field into a text input where the validation errors are descriptive.
99
+
100
+
## Accessibility testing tools
101
+
102
+
You should test your interview with assistive technology as much as you can! The best way to improve your interviews for assistive technology users is by actually experiencing them yourself.
103
+
Here are some common tools to help you test and validate the accessibility of your interviews:
104
+
105
+
### Screen readers
106
+
107
+
Screen readers are assistive technologies that read content aloud for users who are blind or have low vision. Each of these screen readers behaves differently, so test with as many of them as
108
+
you can.
109
+
110
+
It's important to note that you shouldn't rewrite your content based on how it sounds in the screen reader. When using a screen reader, some words and acronyms will be pronounced differently than you might expect. This is fine; screen reader users are used to these differences. For more discussion here, see [Adrian Roselli's post about this](https://adrianroselli.com/2023/04/dont-override-screen-reader-pronunciation.html).
111
+
112
+
**Free screen readers:**
113
+
* **[NVDA (NonVisual Desktop Access)](https://www.nvaccess.org/)** - Free, open-source screen reader for Windows. Widely used and regularly updated.
114
+
* **[VoiceOver](https://www.apple.com/accessibility/vision/)** - Built into macOS and iOS devices. Activate with Command+F5 on Mac.
115
+
* **[Orca](https://help.gnome.org/users/orca/stable/)** - Open-source screen reader for Linux systems.
116
+
117
+
**Commercial screen readers:**
118
+
* **[JAWS (Job Access With Speech)](https://www.freedomscientific.com/products/software/jaws/)** - The most popular screen reader for Windows with advanced features.
119
+
120
+
### Browser accessibility checkers
121
+
122
+
These tools can automatically scan your interview pages for accessibility issues:
123
+
124
+
* **[WAVE Web Accessibility Evaluator](https://wave.webaim.org/extension/)** - Browser extension that highlights accessibility issues directly on the page.
125
+
* **[axe DevTools](https://www.deque.com/axe/devtools/)** - Browser extension for Chrome, Firefox, and Edge that integrates with developer tools.
126
+
* **[Lighthouse](https://developer.chrome.com/docs/lighthouse/)** - Built into Chrome DevTools, includes accessibility auditing alongside performance testing.
127
+
* **[Accessibility Insights](https://accessibilityinsights.io/)** - Microsoft's accessibility testing tools for web and Windows applications.
128
+
129
+
### Manual testing tools
130
+
131
+
* **[Colour Contrast Analyser](https://www.tpgi.com/color-contrast-checker/)** - Desktop application for testing color contrast ratios.
132
+
* **[Accessibility bookmarklets](https://accessibility-bookmarklets.org/)** - Collection of browser bookmarklets for quick accessibility checks.
0 commit comments