News for hackers. Stuff that matters.
Re:Reddit's Recently Announced API Changes, and the future o... by ridem on Wednesday June 07, 2023 @07:09PM (#36234949)
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...

Re:Reddit's Recently Announced API Changes, and the future o... by 6gvONxR4sf7o on Wednesday June 07, 2023 @07:24PM (#36235083)
Thanks for the explanation!
Re:Reddit's Recently Announced API Changes, and the future o... by kalensh on Wednesday June 07, 2023 @07:36PM (#36235184)
The lawsuit worthy aspect is that labels for buttons are super important for understanding what a button does. A lack of labels (either through not putting text inside the <button> element or using a technique like aria-label) can quickly make an interface unusable for a blind person - the visual equivalent would be completely blank, identical buttons. That barrier is what someone could sue over.
Re:Reddit's Recently Announced API Changes, and the future o... by xigoi on Thursday June 08, 2023 @05:01AM (#36239061)
It can also quickly make an interface unusable for a non-blind person, if they block external fonts.