2 ms·
You could use aria-label potentially, but it has fairly scrict semantic connotations as a label for an input, I believe.
by ehnto 11y ago
You 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!