Re: Buttons styled as links and links styled as buttons

> If you are working with a sighted person, for assistance etc., and you
say, I pressed on the “whatever” button, and it looks like a link to her,
confusion may ensue

I agree that could be a problem. That would actually be an argument for
matching the role to the visual style, not to the actual purpose of the
component. It would need screen readers to announce that something is a
link even if in fact it doesn't go anywhere but (for instance) opens a
dialog.

However that scenario is only a very occasional one, whereas blind people
are using screen readers on websites all day and every day. So it seems to
me the likely confusion caused for them daily is more important than
confusion on the rare occasions they are working with a sighted person. So
I still think the role (whether by HTML or ARIA) should match the purpose,
not the visual style.

Received on Friday, 19 November 2021 18:40:30 UTC