Feature Request: Accessibility aria-label/aria-labelledby support #4269
AhmerMH
started this conversation in
Feature Requests
Replies: 1 comment
-
You can change the DOM attributes of the element like this: useEditor({
editorProps: {
attributes: {
'aria-label': 'Custom aria label',
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
ProseMirror already supports the aria-label tag by passing the
label
property inoptions
. The documentation can be found here: https://prosemirror.net/docs/ref/version/0.5.0.html#labelPlease add an option to pass this
label
property from tiptap, so that aria-label tag can be added to the ProseMirror div.Use Case
The feature helps in the accessibility of the web application and a common use case required by every web page.
Type
Other
Beta Was this translation helpful? Give feedback.
All reactions