peterfremlin / Disability-Debrief

0 stars 0 forks source link

Search: Accessibility #36

Open peterfremlin opened 7 months ago

peterfremlin commented 7 months ago

Screen-reader use hears the line "32 newsletters, 8 pages, and 174 library links found" three times, and for some reason appears just as one link rather than the three separate links.

If there's an obvious fix to this then that's fine, but otherwise feedback from Áine is that we can just remove the links - the sections are navigable by themselves as headings.

Results are easier to navigate if they can be put at a heading level (eg h3), so that navigating to next heading gets to the next result

Some of the emojis (like open book) don't make sense when read out and the star emoji was getting read out as 2605. Perhaps the visual indicators can be removed for screenreader users?

peterfremlin commented 6 months ago

Access review from Áine (screen-reader user)

cathysarisky commented 6 months ago

On the first point - that’s the results? Or when the page first is loaded? I removed the "X page, Y links... " line because Aine said it wasn't necessary, but I think that's what was announcing - what's the desired behavior, please?

peterfremlin commented 6 months ago

It's good to have the line that said "X page, Y links". There were two issues with it

So we should bring that line back, without links in it.

And focus should be shifted to the line that announces the number of results.

cathysarisky commented 6 months ago

"And focus should be shifted to the line that announces the number of results."

It's reading because it is set to role=status. My reading on this is that it should not get focus. See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/status_role

But I think I've resolved the repeat reading. Wrapping up a few more things and then will get it to you for more testing. :)

peterfremlin commented 1 month ago

The line about results gets read multiple times - this is still the case. It gets updated once to the user on pressing enter, and then again when they scroll down through the page

Also, a further presentational issue: the text in the search box sometimes appears very small when the window is minimized:

Screenshot 2024-10-30 at 16 45 54