@GlafiraZhur for the EpicHey! Conference
November 2023
Twitter: @glafirazhur
Accessibility Lead
GDE for Web
(label)
(semantics)
(properties and states)
dialog
label
modality
aria
1
2
3
4
5
6
People With Disabilities
15% of population
1,211,238,211
Earth population
8,074,921,408
15%
🤔
🤔
🤔
🤔
🤔
🤔
🤔
🤔
... a Frontend Developer
😸 who is a Junior
😸 who've never heard of A11Y
Do not remove the aria-attributes
from the UI components
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
⚠️
There is no AREA attributes, only ARIA
Do not use properties which do not exist
... a Full Stack Developer
😸 who don't mind HTML
😸 who uses ready-to-use libraries
😸 who creates custom components
<input placeholder="Birth surname">👽 In a <form>, button triggers a submit.
<button type="button">EpicHey!</button>👽 the disabled attribute disables tabbing and cannot be enabled
<button disabled>EpicHey!</button>👽 It contains default styling that is up to the browser
button.epic {
all: unset;
}<header>
<nav>
<!-- List of links -->
</nav>
</header>
<article class="product-card">
<button>Add to cart</button>
</article>
Use proper semantics
(if you can use HTML instead)
Do not override the native semantics
🦑
👾
👻
🦄
😸
🦝
🤖
👽
Name: " "
Do not forget to give an accessible name
for interactive elements
🤔
🤔
🤔
🤔
🤔
🤔
🤔
🤔
aria-hidden=“true”
✅
✅
✅
✅
WCAG (Web Content Accessibility Guidelines) - a single shared standard for web content accessibility that meets the needs of individuals, organizations, and governments internationally.
Twitter: @glafirazhur
Learn accessibility!