Hey, accessibility, WCAG compliance, damn it!
A small thing, and it opens HomeAssistant to the needs of people with disabilities. I am blind, with HomeAssistant, I use the NVDA screen reader on my Windows machine and Google TalkBack on Android. A lot of good has already been done regarding accessibility. This is one side of the coin. On the other hand, there are things to be improved in terms of accessibility.
As of today, only the first 3 things to improve:
-
Buttons - By setting the button (e.g. light), you can define the display of the name, icon, status. However, the status is not announced by the screen reader. NVDA and TalkBack can only read the button name. I don’t know if the button is on or off. The screen reader is not able to give me the correct information. Please pay more attention to the WCAG guidelines.
-
Installation - On installation, the problem is with the first form that the user has to fill out. Unfortunately, when using the NVDA screen reader, the task is difficult when entering the username or password. By typing 1 character, the focus point moves to the alert. You have to re-enter the edit field, enter the second character (focus to alert), enter the edit field and 3rd character, (focus to alert), enter the edit field and 4th character etc. Seriously, this is how it looks today. In the system, this is the only place where I encountered something like that. You can enter data, but it’s a damn frustrating task.
-
Structure and semantics - Is text that looks and acts like a heading marked as a real heading? Again, if you’re sighted, you can see big, bold text positioned over regular paragraph text and immediately know, “Oh, OK, that’s a heading.” But the screen reader doesn’t know that unless it’s semantically marked with heading tags, rather than just styled to look like big, bold text with CSS. Do section headings follow a hierarchical structure and do not skip any levels? Level 1 would be the top level, then level 2 would be a subsection of level 1, and so on. In HomeAssistant, the headline for the eye is, for example, Media Sources, History, Map etc. In the code, these headers should be marked as H1. Thanks to this, one key “h” (NVDA screen reader) is enough and I go to the right place.
So much for today. Please keep the WCAG guidelines under your pillow. Compliance with WCAG guidelines makes life much easier.