Skip to content

Commit

Permalink
[RTE][A11Y] Add missing aria label for placeholder on editor (#4750)
Browse files Browse the repository at this point in the history
* Add missing aria label for placeholder on editor

* Change files
  • Loading branch information
palatter authored Jun 18, 2024
1 parent cc68ba3 commit e8e57c5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "",
"comment": "Add missing aria label for placeholder on editor",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "",
"comment": "Add missing aria label for placeholder on editor",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ export const RichTextEditor = React.forwardRef<RichTextEditorComponentRef, RichT
aria-multiline="true"
data-testid={'rooster-rich-text-editor'}
className={richTextEditorStyle(props.styles)}
aria-label={placeholderText}
/>
</div>
{contextMenuProps && <ContextualMenu {...contextMenuProps} calloutProps={{ isBeakVisible: false }} />}
Expand Down

0 comments on commit e8e57c5

Please sign in to comment.