Skip to content

Support full aria controls provided by draftJS #436

@dwjohnston

Description

@dwjohnston

Is your proposal related to a problem?

It looks like the only aria tag you are providing is the the ariaDescribedBy.

This makes it difficult to access the component when using React Testing Library.

Describe the solution you’d like

Pass the full list of aria props as listed here on to the draft js component:

https://github.com/facebook/draft-js/blob/master/src/component/base/DraftEditorProps.js

Describe alternatives you’ve considered

It looks like you aren't support arbitrary passing of props to base elements, like Material-UI often does.

Additional context

(Write your answer here.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions