Eric Eggert (he/him/his)
- š©šŖ Co-founder & Co-owner of outline Consulting (2011)
- šøšŖ Web Accessibility Specialist at Axess Lab (2022)
- š¦š¹ Lecturer at FH Joanneum (2015)
- šŗšø Director of Accessibility Services at Knowbility (ā16āā22)
- š Web Accessibility Specialist at W3C/WAI (ā13āā20)
š Wissen, Germany š©šŖ
Users
Why do we design like they are?
Why do we develop like they are?
What Does Inclusive Design Even Mean?
Screen Reader Differences
VoiceOver and Safari remove list element semantics when
list-style: none is used.
Scott OāHara: āFixingā Lists
This was a purposeful change due to rampant
ālistā-itis by web developers.
James Craig, Apple, bugs.webkit.org
What does it mean for me, as a web developer, that Safari is not reading lists, when they donāt look like a list?
John Doe-veloper
A Time Line
- 2014: First Commit
- 2015: Additional Code
- ā¦
- 2019: The Web Notices
Customers seem much happier in the 3 years since this change went in.
James Craig, Apple, bugs.webkit.org
The same is true
for screen readers:
They donāt all need to
produce the same output.
ARIA can help,
but not in
every situation.
Accessibility is not
only Screen Readers
Most non-Screen-Reader
assistive technology does
not work well with ARIA.
Variable levels of knowledge of their AT
Users often donāt know what their computers can do for them.
Other users hack assistive technology to work with inaccessible sites.
Some users write CSS and JavaScript to change websites to their needs.
User =
Disability Type × Proficiency × Accessibility Support
Reader Mode Support
- Safari (since 2010, can set to default since 2015)
- Firefox (2015)
- Edge (2015)
- Chrome (soon??????)
Leveraging
Operating System
Preferences
prefers-reduced-motion
Media Query
@media (prefers-reduced-motion: reduce) {
* {
transition: none !important;
animation: none !important;
}
}
prefers-color-scheme
Media Query (Dark Mode)
:root {
--color: #333;
--bgcolor: #eee;
}
@media (prefers-color-scheme: dark) {
:root {
--color: #eee;
--bgcolor: #333;
}
}
html {
color: var(--color);
background-color: var(--bgcolor);
}
But waitā¦
Thereās more!
inverted-colors
MQ
Experimental. Supported in Safari macOS & iOS.
prefers-contrast
MQ
Experimental. Supported in Blink and Safari.
forced-colors
MQ
Experimental. Supported in Blink and Firefox. (And generally mostly on Windows, similar to -ms-high-contrast
.)
User preferences come in
different combinations
- Test with diverse settings and users
- Let users decide which tools they need, including assistive tech
- Describe, not prescribe the user interface
- Support existing conventions and defaults