New ask Hacker News story: Ask HN: How to communicate voting button state for screenreaders? - Gadgets180™

It is a technical blog/website and you will get here all the technical stuff and we also post some tech news.

Header Ads

Post Top Ad

Responsive Ads Here

New ask Hacker News story: Ask HN: How to communicate voting button state for screenreaders?

Share This
Ask HN: How to communicate voting button state for screenreaders?
3 by forgotmypw17 | 1 comments on Hacker News.
I'm working on several pages with "items", and each item has a "voting button". When the button is pressed, it adds one vote to the item's score, and reflects this to the user by incrementing the counter by one. So "like(1)" becomes "like(2)" and then "like(2)". However, it seems to me like to someone using a screen-reader, it may not be accessible, meaning they won't understand what happened. Does anyone know the proper way to handle this? Should I insert an aria alert element to the page, next to the voting button?

Don't forget to subscribe our youtube channel Click here:- http://www.youtube.com/c/techgk Product of the day

No comments:

Post a Comment

Post Bottom Ad

Responsive Ads Here

Pages