Skip to content

Commit 1762338

Browse files
edwardlee-msftpull[bot]
authored andcommitted
[bugfix] SidePaneHeader aria label (#4475)
* Aria label for sidepane header * Change files
1 parent c0919e9 commit 1762338

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "fix",
4+
"workstream": "a11y",
5+
"comment": "Aria label for sidepane header",
6+
"packageName": "@azure/communication-react",
7+
"email": "edwardlee@microsoft.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "fix",
4+
"workstream": "a11y",
5+
"comment": "Aria label for sidepane header",
6+
"packageName": "@azure/communication-react",
7+
"email": "edwardlee@microsoft.com",
8+
"dependentChangeType": "patch"
9+
}

packages/react-composites/src/composites/common/SidePaneHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const SidePaneHeader = (props: {
4545

4646
return (
4747
<Stack horizontal horizontalAlign="space-between" styles={sidePaneHeaderContainerStyles} verticalAlign="center">
48-
<Stack.Item role="heading" styles={sidePaneHeaderStyles}>
48+
<Stack.Item role="heading" styles={sidePaneHeaderStyles} aria-label={props.headingText}>
4949
{props.headingText}
5050
</Stack.Item>
5151
<Stack.Item>

0 commit comments

Comments
 (0)