Skip to content

Change the _aria prop from being an Object to inline props #46

Description

@i-am-the-slime

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.

As a reference: Here's the list:

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions