Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[A11y] Add annoncements when a bulleted and numbered lists are created #2735

Closed
vhuseinova-msft opened this issue Jun 28, 2024 · 2 comments
Closed

Comments

@vhuseinova-msft
Copy link
Contributor

Describe the bug
Currently RoosterJS allow to customize strings for announcing announceListItemBullet, announceListItemNumbering and announceOnFocusLastCell. This GitHub issue is for adding a few new options when:

  • a bulleted list is added
  • a numbered list is added.
    The announcement should be used when bulleted/numbered lists are added as part of autoformatiing and when toggleBullet/toggleNumbering apis are called.

To Reproduce
Steps to reproduce the behavior:

  1. Open RoosterJS demo app
  2. Add a numbered/bulleted list
  3. Observe that there is no announcements that lists are created (and there is no options to set this in code)

Expected behavior
Developers are able to add/customize strings that will be used when bulleted/numbered lists are created.
 

Device Information

  • OS: [e.g. iOS] MacOs
  • Browser [e.g. chrome, safari] Edge
  • Version [e.g. 22]
@vhuseinova-msft
Copy link
Contributor Author

cc @BryanValverdeU

@BryanValverdeU
Copy link
Contributor

BryanValverdeU commented Jul 11, 2024

@vhuseinova-msft We are just going to set the announcing when the list is created with AutoFormat, When the function toggleNumbering or toggleBullet is triggered from a button, other apps like Word do not announce the action.

A work around if you want to announce when the action is triggered with a button is to call editor.announce(...announceData).

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

No branches or pull requests

2 participants