Skip to content

[Chat] Fix Issue where screen reader announces "&nbsp"#4500

Merged
jpeng-ms merged 7 commits intomainfrom
john/fix-a11y
Apr 22, 2024
Merged

[Chat] Fix Issue where screen reader announces "&nbsp"#4500
jpeng-ms merged 7 commits intomainfrom
john/fix-a11y

Conversation

@jpeng-ms
Copy link
Copy Markdown
Member

What

This bug is only happening in windows narrator and not in mac voiceover. Currently, it will announces spaces out such as "John says image &nbsp image &nbsp" instead of "john says image image"

Why

addressing issues from A11y team

How Tested

test this in windows narrator

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2024

Calling bundle size is not changed.

  • Current size: 4877804
  • Base size: 4877804
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2024

Chat bundle size is increased❗.

  • Current size: 2149167
  • Base size: 2149166
  • Diff size: 1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2024

CallWithChat bundle size is increased❗.

  • Current size: 6269528
  • Base size: 6269527
  • Diff size: 1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2024

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

Lines Statements Functions Branches
Base 25114 / 39109
64.21%
25114 / 39109
64.21%
680 / 1221
55.69%
1985 / 3153
62.95%
Current 25111 / 39103
64.21%
25111 / 39103
64.21%
680 / 1221
55.69%
1982 / 3149
62.94%
Diff -3 / -6
0%
-3 / -6
0%
0 / 0
0%
-3 / -4
-0.01%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2024

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

Lines Statements Functions Branches
Base 49431 / 79027
62.54%
49431 / 79027
62.54%
1024 / 2283
44.85%
2904 / 4750
61.13%
Current 49489 / 79027
62.62%
49489 / 79027
62.62%
1024 / 2283
44.85%
2882 / 4744
60.75%
Diff 58 / 0
0.08%
58 / 0
0.08%
0 / 0
0%
-22 / -6
-0.38%

@github-actions
Copy link
Copy Markdown
Contributor

let attachmentList = '';
/* @conditional-compile-remove(attachment-download) */
attachmentList = attachmentCardGroupDescription(props);
/* @conditional-compile-remove(attachment-download) */
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.

Small behavioural change with the cc moving outside of the if condition but this should be ok since the previous logic should have been around all attachments list anyways. But if anyone sees a reason why this might break stable builds please bring it up

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this if condition was added by me few weeks ago specifically for file sharing: https://github.com/Azure/communication-ui-library/pull/4438/files

added comments to explain this a bit

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@jpeng-ms jpeng-ms enabled auto-merge (squash) April 22, 2024 23:30
@github-actions
Copy link
Copy Markdown
Contributor

@jpeng-ms jpeng-ms merged commit 68dfd12 into main Apr 22, 2024
@jpeng-ms jpeng-ms deleted the john/fix-a11y branch April 22, 2024 23:42
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.

5 participants