Assalamualaikum. This page is for anyone building a Quran, prayer or other Islamic app or website. Blind and low vision Muslims use these apps every day, and small choices decide whether we can use them on our own. Everything here comes from our own daily use with screen readers.
Arabic text and the Quran
- Mark the language. On the web, put
lang="ar"on Arabic text. On iOS, setaccessibilityLanguageto Arabic. On Android, wrap Arabic text in aLocaleSpan. Then the screen reader switches to an Arabic voice instead of spelling out letters. - Never change the Quran text to help the speech. Don't respell words or swap characters so a voice reads them differently. Offer transliteration and recitation audio alongside the text instead.
- Keep Arabic, transliteration and English as separate elements. A listener can then move to the one they want, instead of hearing all three run together.
- Put the verse number in its own element, with a plain label such as "Verse 5", so it is not read as part of the verse.
Audio and recitation
- Keep the play button's name the same. Call it "Play" and give its state as a value, such as "Playing" or "Paused". A button that changes its own name confuses screen readers.
- Support the Magic Tap on iOS (a two finger double tap) so people can play or pause from anywhere.
- Offer skip by verse and by surah, plus jumps of a set number of seconds.
- Don't move focus when the next verse starts. Let the listener stay where they are.
- Remember the listener's place so they can resume with one action.
Prayer times
- Show prayer times as a list or a table with headers, with the prayer name and time together in each item.
- Don't announce a countdown every second. Announce when the next prayer changes, and update any countdown text in steps, such as every few minutes.
- Let people pick their city by typing, not only with a map.
- Name the calculation method in words, not with an icon alone.
Qibla
- Don't rely on a compass needle. Give sound and vibration as the person turns, and say clearly when they are facing the Qibla.
- Speak the direction in words, such as "turn right", and say how close the person is.
Calendars and lessons
- Write the Hijri date out as text, and give each day in a calendar grid a full label with the day, month and any event.
- Use real headings for surahs, tafsir sections and lesson steps, so people can jump through them by heading.
- Describe every image, including pictures of prayer positions.
Testing
- Test with a screen reader yourself: VoiceOver on iPhone and Mac, TalkBack on Android, and NVDA on Windows.
- Test with blind and low vision users, early and again before every release.
- Follow WCAG 2.2 Level AA as the minimum. These guides are a good start: WCAG 2.2, Apple accessibility for developers and Android accessibility for developers.
Work with us
If you are building an Islamic app or website and want feedback from blind and low vision Muslims, please contact us. We would love to help, insha Allah.