-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unlabeled buttons #3267
Comments
I have opened a pull request to address a couple of the mentioned missing labels. The pull request is #3310. |
For people looking into helping with this issue, there is an accessibility dev tool to help find bad buttons: https://www.deque.com/axe/. |
I am a visually impaired user as well and noticed media device buttons, as well as a few others, got labeled in a recent release. Thanks for that. My cover device cards are not labeled yet though. I'll point out more as I come across them. |
Opened pull request #3421 to add labels to the cover and cover tilt controls. |
Hi there! Great work on the accessibility fixes so far, I really appreciate it! The following buttons are unlabeled:
The following button from my original post is still unlabeled:
|
@joshms123 addressed in #3422 |
In the modal dialog when editing an entities card, there are 2 unlabeled buttons associated with each entity in the list. One of them deletes the entity and I'm not sure what the other one does. |
Two more:
|
Do you have a more specific example of the close button? |
Sorry, I was a bit lax on that and looks like several were fixed. Here's a few that I just found:
|
@steverep wanted to let you know that @bramkragten is working for @NabuCasa and will focus on the Home Assistant frontend. Improving accessibility is one of this tasks so please keep the issues coming. |
A few more to add to the list from my last comment:
|
@balloob @bramkragten is there a way to integrate axe into our test builds to alert us before merging new unlabeled buttons? |
More...
|
|
Can we somehow translate the aria-labels in js files? |
Thermostat card buttons are also not labelled. - type: thermostat
entity: climate.thermostat_salon |
PR #10875 fixes the climate modes in the thermostate card. PR #10876 fixes the log download button for ZWave JS. I however have no such setup, so this is untested. Reg. the log levels: Could you please add a screenshot so that I can see which element this is regarding, because just looking at the code I did not see anything there. |
One more:
Upon closer inspection, it's not actually a button but instead a drop-down menu to select the log level. There's a similar one on the system configuration page as well, and a lot more now that I think about it. The problem is that their ARIA is very screwy (e.g. they are being exposed mixed as buttons and menus, tabbing works but browsing doesn't, etc.). I'll tkae a closer look at the HTML and open a separate ticket to work on the ARIA pattern. |
Thanks! I also noticed the buttons are not labelled on the - type: media-control
entity: media_player.enceinte_bureau |
I also noticed buttons on and of for switches with assumed_state: true are also not labelled. |
Can you provide some more details what you mean, so I can try to reproduce. |
For example Broadlink RM Mini allow to create switch to execute remote commands. |
And those are icon buttons so buttons that only show an icon, without any text? Can you quickly add a screenshot to illustrate and ensure we are talking about the same thing 😄. |
Hm. My mistake, I should have tested better. It was something I did not use for some weeks and remembered. |
In debugging #8178 and #10617, I noticed another problem with nearly all buttons I've seen across the UI: the SVG icon within the button has no accessible name, which fails WCAG criterion 1.1.1. In most cases I'm seeing the
In the case of the |
After some test 🙂 I found two unlabelled check boxes: I would like to contribute and tried to understand why the labels were not right but I did not figure how to do so, where or how could I find some way to help? |
Thanks @spacegaier. I recently setup a a complete dev environment for myself so I can fix a lot of that small stuff myself now. I could really use your help with #8178 if you have time to lend. |
I don't own a single Apple device, so I am afraid I cannot really help with #8178 |
Finding a few more while fixing other accessibility issues...
|
@bramkragten I went to go fix those from my last comment but didn't relize you already did. You probably didn't see when I edited the comment to add 3 more (quick bar button, delete repository in dialog, and delete energy device). |
Home Assistant release with the issue:
0.94.1
Last working Home Assistant release (if known):
None
UI (States or Lovelace UI?):
Lovelace
Browser and Operating System:
Chrome, Windows 10
Description of problem:
As a visually impaired user, I have found several accessibility issues over the year or so while using home assistant. The biggest issue currently (of mine at least) is the number of unlabeled buttons in the Lovelace UI. Currently when navigating with my screen reader, I hear "unlabeled 0", "unlabeled 1", etc. With a different screen reader (NVDA), I get even less feedback.
List of unlabeled buttons I know of currently:
This is the current list of buttons I have just gone over; if I find more, I will either update or comment.
Javascript errors shown in the web inspector (if applicable):
N/A
Additional information:
N/A
The text was updated successfully, but these errors were encountered: