Skip to content

Resolve A11Y Bug around not focusing on format options toolbar when showing format options.#5337

Merged
palatter merged 27 commits intomainfrom
palatter/a11y-format-button-rte
Oct 25, 2024
Merged

Resolve A11Y Bug around not focusing on format options toolbar when showing format options.#5337
palatter merged 27 commits intomainfrom
palatter/a11y-format-button-rte

Conversation

@palatter
Copy link
Copy Markdown
Member

@palatter palatter commented Oct 18, 2024

What

Resolved issue where the rich text editor tool bar would not be focus when it is shown.

Before:

image

After:

image

As part of this fix, I also fixed an issue where the editor component would remount every time you show or hide the toolbar. This is due to a bug in the Fluent Stack component where the 'wrap' attribute was causing the children to remount. I replaced it with comparable CSS.

Why

How Tested

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.

@palatter palatter changed the title Resolve A11Y Bug around not focusing on format options toolbar when showing format options. [DRAFT] Resolve A11Y Bug around not focusing on format options toolbar when showing format options. Oct 18, 2024
@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@palatter palatter added the update_snapshots Set this label to request automated update of UI snapshots label Oct 23, 2024
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Oct 23, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 23, 2024

Chat bundle size is increased❗.

  • Current size: 1757636
  • Base size: 1757580
  • Diff size: 56

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

  • Current size: 8139366
  • Base size: 8139366
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

CallWithChat bundle size is not changed.

  • Current size: 8139379
  • Base size: 8139379
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

@palatter palatter marked this pull request as ready for review October 23, 2024 22:36
@palatter palatter changed the title [DRAFT] Resolve A11Y Bug around not focusing on format options toolbar when showing format options. Resolve A11Y Bug around not focusing on format options toolbar when showing format options. Oct 23, 2024
@github-actions
Copy link
Copy Markdown
Contributor

@palatter palatter marked this pull request as draft October 23, 2024 22:52
@palatter palatter added the update_snapshots Set this label to request automated update of UI snapshots label Oct 23, 2024
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Oct 23, 2024
@github-actions
Copy link
Copy Markdown
Contributor

@palatter palatter added the update_snapshots Set this label to request automated update of UI snapshots label Oct 23, 2024
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Oct 23, 2024
@github-actions
Copy link
Copy Markdown
Contributor

@palatter palatter marked this pull request as ready for review October 23, 2024 23:49
@github-actions
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

@Leah-Xia-Microsoft Leah-Xia-Microsoft left a comment

Choose a reason for hiding this comment

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

Nice fix

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 23, 2024

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

Lines Statements Functions Branches
Base 26911 / 43236
62.24%
26911 / 43236
62.24%
733 / 1342
54.61%
2158 / 3441
62.71%
Current 26867 / 43249
62.12%
26867 / 43249
62.12%
733 / 1342
54.61%
2152 / 3434
62.66%
Diff -44 / 13
-0.12%
-44 / 13
-0.12%
0 / 0
0%
-6 / -7
-0.05%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 23, 2024

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

Lines Statements Functions Branches
Base 53843 / 88045
61.15%
53843 / 88045
61.15%
1100 / 2488
44.21%
3230 / 5338
60.5%
Current 53841 / 88056
61.14%
53841 / 88056
61.14%
1100 / 2488
44.21%
3219 / 5331
60.38%
Diff -2 / 11
-0.01%
-2 / 11
-0.01%
0 / 0
0%
-11 / -7
-0.12%

@github-actions
Copy link
Copy Markdown
Contributor

@palatter palatter enabled auto-merge (squash) October 25, 2024 17:42
@github-actions
Copy link
Copy Markdown
Contributor

@palatter palatter merged commit 06854ad into main Oct 25, 2024
@palatter palatter deleted the palatter/a11y-format-button-rte branch October 25, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants