3 ms·
No. Well, you could use aria-describedby but that has to refer to a separate element. There’s no generic aria-description.
by robin_reala 11y ago
No. Well, you could use aria-describedby but that has to refer to a separate element. There’s no generic aria-description.
- ehnto 11y agoYou could use aria-label potentially, but it has fairly scrict semantic connotations as a label for an input, I believe.
- prezjordan 11y agoaria-label is totally cool for not-input's: https://www.w3.org/WAI/GL/wiki/Using_aria-label_to_provide_labels_for_objects#Example_1 https://www.w3.org/WAI/GL/wiki/Using_aria-label_to_provide_l...
- chinchang 11y agoYeah, that should bring in some accessibility. Right now the library uses `data-hint` attribute. We could use `aria-label` attribute instead!