sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
Sophie ([personal profile] sophie) wrote in [site community profile] dw_accessibility2012-04-22 04:38 pm

Making the Manage Message Settings page a bit more accessible

I was musing on Bug 4425 (Make "click on subscription line to toggle the checkbox state" work in more cases) just now. Basically, the issue here is that when you have a page that allows you to choose tracking notifications pertaining to another account, such as the tracking page for dw_accessibility, some of the text of the notifications, such as "Someone comments in [site community profile] dw_accessibility, on any entry" are only clickable on the part before the user tag, and not after. This is because the <label> tag gets cut off before the user tag so that clicking the link doesn't toggle the checkbox. As another result of this, screen readers are unlikely to read the notification text pertaining to the focused checkbox correctly.

This is obviously a problem, and it needs to be fixed. I want to file it as a separate bug, but before I do, I wanted [site community profile] dw_accessibility's opinion!

There are a couple of solutions I thought of:
  1. One solution is to make both parts clickable separately, which would involve assigning two <label> tags instead of just one. While this would fix things for visual users, it wouldn't solve the existing issue that screen readers are unlikely to read the notification correctly when tabbing to the checkbox.

  2. Another solution could be to remove the user links entirely, and just have the username as bolded text. This will fix the original problem, and it also has two immediate advantages that I can see: firstly, we would now be able to have just one <label> tag spanning the whole thing (at least in those cases; unfortunately it still wouldn't work for notifications that involve dropdowns), allowing screen readers to read it properly. Secondly, It gets us one step closer to having a consistent number of tabs between each listed notification, which makes it a bit more efficient.
I prefer the second solution, as this would seem to be more accessible, but I wanted to find out if this is even a problem for anybody first. I suspect it is, but not being a screen reader user, I don't know.

If you have any better ideas, please let me know! I'd also be interested to know what you think of the situation where dropdowns are involved; the same problem applies to them (the <label> tag is cut off), except we obviously can't reduce them to pure text in this case. What do you think?
lightgetsin: The Doodledog with frisbee dangling from her mouth, looking mischievious, saying innocence personified. (Default)

[personal profile] lightgetsin 2012-04-22 04:13 pm (UTC)(link)
Oh, so that's why. It is in fact a problem for me as a screenreader user, but I had actually been blaming it on some unrelated browser weirdness.

I agree that option 2 sounds like the better choice.
deborah: the Library of Congress cataloging numbers for children's literature, technology, and library science (Default)

[personal profile] deborah 2012-04-23 04:06 pm (UTC)(link)
from a keyboard perspective, option 2 sounds like a better choice as well, because of the thing you mention, Sophie, with consistent number of tabs. It also just feels like better form design.

I'm trying to think of usability reason why you would want to have the name be a complete user tag in that particular instance, and I can't think of a great use case.

What's the example of where drop downs are involved?
jeshyr: Blessed are the broken. Harry Potter. (Default)

[personal profile] jeshyr 2012-04-24 01:10 am (UTC)(link)
Consistence is also a usability issue but a cognitive accessibility issue - currently pretty much any username or community name in the site comes in a certain format, and we're breaking that. It's not a small change, cognitively, but I'm not sure if it would be an issue for people or not...

One thing that comes to mind is to change the language so that the drop down and/or username come at the end of the label. For example "Someone comments in dw_accessibility, on any entry" could easily be "Someone comments on any entry in dw_accessibility". If the "different" bits are at the end of the label it avoids the problem of splitting up the label and makes most of it clickable. Would that be a solution that would be workable??

denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2012-04-24 02:20 am (UTC)(link)
Oooh, I like this. I think most of the options can be rephrased with a little bit of creativity (and willingness to use the passive voice if necessary!)

Would putting the username in the front or back of the label work too? Like, Sophie, the one you mention ([personal profile] sophie posts a new entry to [site community profile] dw_accessibility) has the usernames at the front and back; the label could go from "posts a new entry to" and stop there?

[identity profile] crschmidt.net 2012-04-30 01:03 am (UTC)(link)
For the record, since it appears that this is still somewhat under discussion, I've punted bug 4425 back into the pool for now, since it's probably better suited for someone more aware of the various ways it should happen rather than a trivial bugfix at this point :)