Accessibility checker
Can screen reader users and people with low vision use your page?
- Checks your page
- 3 browsers
- 9 rules
- Last updated
What we keep
The result appears here
Enter your page’s address and press “Check the page”. This is what the tool runs on it:
- Button without an accessible namenot started
- Text with too little contrastnot started
- Text whose contrast needs checking by eyenot started
- Image without a text alternativenot started
- Input button without textnot started
- Image button without alternative textnot started
- Link without an accessible namenot started
- Drop-down list without a labelnot started
- lang attribute that names no languagenot started
What it checks
- Every
<button>has a name a screen reader can read: text, or anaria-label,aria-labelledbyortitle(WCAG 4.1.2). - Every button written as
<input type="button">,submitorresethas text in itsvalue, or another name (WCAG 4.1.2). - Every drop-down list (
<select>) has a label, or anaria-label,aria-labelledbyortitle(WCAG 4.1.2). - Every link has a name: text, its image's
alt, or anaria-label,aria-labelledbyortitle(WCAG 2.4.4 and 4.1.2). - Every image has a text alternative, or is marked as decorative with
alt=""orrole="presentation"(WCAG 1.1.1). - Every image button (
<input type="image">) has analtthat says what it does (WCAG 1.1.1 and 4.1.2). - Text contrasts with its background by at least 4.5:1, or 3:1 for large text, Arabic text included (WCAG 1.4.3).
- Text whose contrast cannot be measured, over images and gradients or under other elements, for you to check by eye.
- Every
langattribute inside the page is a valid language code, such asen, notenglish(WCAG 3.1.2).
Example
<h1>عطر العود الملكي</h1> <button id="wishlist" type="button"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" /></svg></button>
<h1>عطر العود الملكي</h1> <button id="wishlist" type="button" aria-label="أضف إلى المفضلة"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" /></svg></button> <button type="button">أضف إلى السلة</button>
How to fix
Give every button and link a name in the page's language, every image a text alternative, and every passage in another language its language code:
- Keep
aria-hidden="true"on the icon itself, so it is not read twice, and write an emptyalt=""for an image that only decorates, so screen readers pass over it. - Darken the text or lighten the background until the contrast reaches 4.5:1; on white,
#767676is the lightest grey that does. Check the colours of placeholders and links too. - For text over an image, put a solid or semi-transparent layer between them, such as
background: rgb(0 0 0 / 60%)behind white text, or move the text onto a plain background.
<button type="button" aria-label="أضف إلى المفضلة">
<svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" /></svg>
</button>
<a href="/cart" aria-label="السلة">
<svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><rect width="16" height="16" /></svg>
</a>
<img src="oud.jpg" alt="زجاجة عطر العود الملكي، 50 مل" />
<img src="divider.png" alt="" />
<p>الدفع متاح بـ <span lang="en">Apple Pay</span></p>FAQ
No. The tool runs eight curated axe-core rules, and many WCAG 2.2 criteria need a person's judgement, such as whether a text alternative really says what the image shows. A passing result means the page is free of what these rules check, in all three browsers.
Yes. axe-core, the engine behind many accessibility checks, leaves out Arabic text: it takes Arabic sentences for the ligatures of icon fonts, and after three of them it leaves out all the text in that font. Before it runs, we tell it that the fonts of Arabic text are not icon fonts, so it measures Arabic text like any other.
Because axe-core cannot measure the contrast of text over an image or a gradient, or covered by another element, so we list it for you to check by eye, with the reason. WCAG 2.2's contrast requirement holds for this text too, but this result does not lower the score.
What this tool runs
- Button without an accessible namecritical
a11y-button-name - Text with too little contrastserious
a11y-color-contrast - Text whose contrast needs checking by eyeserious
a11y-color-contrast-review - Image without a text alternativecritical
a11y-image-alt - Input button without textcritical
a11y-input-button-name - Image button without alternative textcritical
a11y-input-image-alt - Link without an accessible nameserious
a11y-link-name - Drop-down list without a labelcritical
a11y-select-name - lang attribute that names no languageserious
a11y-valid-lang
How we measure
We fetch the page as ArablyzerBot, following its redirects, then render it in Chromium, Firefox and WebKit, each behind Arablyzer's egress proxy, and run axe-core 4.13.0's button-name, input-button-name, link-name, select-name, image-alt, input-image-alt, color-contrast and valid-lang rules in each engine. Before axe runs, we tell it that the fonts of Arabic text are not icon fonts, so it measures Arabic text too. We report each failing element once, with the engines that found it. Text whose contrast axe could not measure is listed for review and does not lower the score. The same page gives the same result on every check.