Better HN
topnewbestaskshowjobs
Log inSign up

ridem

9 karma · joined Apr 26, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

That would be the label of a button yes. I think in practice, what's missing is describing the label of a button (or another element with that role) with an aria-label attribute.

Buttons that miss a label are often an icon without text and label (e.g. a delete button with a trash icon).

https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...