You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I had mentioned this in the past and if memory serves well @megamaddu concurred:
aria attributes are being handled like data attributes. That is, one can supply an Object String as _aria to most (all?) basic components and they will be correctly injected.
But contrary to data- attributes, the set of valid aria- attributes is well-defined and not free for the author to choose.
Sounds like a good improvement. I was wondering if any other purescript libraries had done this already or if there might be a small JS library that we could import all the names from. I don't see one unfortunately though
I think I had mentioned this in the past and if memory serves well @megamaddu concurred:
aria
attributes are being handled likedata
attributes. That is, one can supply anObject String
as_aria
to most (all?) basic components and they will be correctly injected.But contrary to
data-
attributes, the set of validaria-
attributes is well-defined and not free for the author to choose.As a reference: Here's the list:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
The text was updated successfully, but these errors were encountered: