Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No. Well, you could use aria-describedby but that has to refer to a separate element. There’s no generic aria-description.


You could use aria-label potentially, but it has fairly scrict semantic connotations as a label for an input, I believe.


Yeah, that should bring in some accessibility. Right now the library uses `data-hint` attribute. We could use `aria-label` attribute instead!


aria-label is totally cool for not-input's: https://www.w3.org/WAI/GL/wiki/Using_aria-label_to_provide_l...




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: