Skip to content

[A11y bugfix] config heading aria level#5638

Merged
dmceachernmsft merged 3 commits intomainfrom
dmceachernmsft/config-aria-level
Feb 12, 2025
Merged

[A11y bugfix] config heading aria level#5638
dmceachernmsft merged 3 commits intomainfrom
dmceachernmsft/config-aria-level

Conversation

@dmceachernmsft
Copy link
Copy Markdown
Member

What

Update the aria level for the heading SVG on the config screen

Why

Makes sure our elements are the correct level for screen readers

https://skype.visualstudio.com/SPOOL/_workitems/edit/4031933

How Tested

image
Validated locally with A11y insights

Process & policy checklist

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 11, 2025

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 27979 / 44645
62.66%
27979 / 44645
62.66%
786 / 1436
54.73%
2352 / 3720
63.22%
Current 27991 / 44645
62.69%
27991 / 44645
62.69%
786 / 1436
54.73%
2361 / 3724
63.39%
Diff 12 / 0
0.03%
12 / 0
0.03%
0 / 0
0%
9 / 4
0.17%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 11, 2025

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 58291 / 94214
61.87%
58291 / 94214
61.87%
1177 / 2694
43.68%
3516 / 5814
60.47%
Current 58319 / 94221
61.89%
58319 / 94221
61.89%
1177 / 2694
43.68%
3572 / 5847
61.09%
Diff 28 / 7
0.02%
28 / 7
0.02%
0 / 0
0%
56 / 33
0.62%

return (
<svg role={role} width={width} height={height + bufferHeightPx} ref={svgRef} xmlns="http://www.w3.org/2000/svg">
<svg
aria-level={1}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the event of the compsite being used alongside other UI on a webpage this could be incorrect.
But also it's our brst guess so if a customer needs it different then perhaps we expose an api at that stage.
lgtm!

@dmceachernmsft dmceachernmsft enabled auto-merge (squash) February 12, 2025 00:52
@github-actions
Copy link
Copy Markdown
Contributor

CallWithChat bundle size is not changed.

  • Current size: 12401112
  • Base size: 12401112
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

  • Current size: 12401100
  • Base size: 12401100
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

Chat bundle size is increased❗.

  • Current size: 1777256
  • Base size: 1777255
  • Diff size: 1

@github-actions
Copy link
Copy Markdown
Contributor

@dmceachernmsft dmceachernmsft merged commit 01ec29b into main Feb 12, 2025
@dmceachernmsft dmceachernmsft deleted the dmceachernmsft/config-aria-level branch February 12, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants