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

BC-7520 - a11y messages #3295

Merged
merged 23 commits into from
Jun 25, 2024
Merged

BC-7520 - a11y messages #3295

merged 23 commits into from
Jun 25, 2024

Conversation

hoeppner-dataport
Copy link
Contributor

@hoeppner-dataport hoeppner-dataport commented Jun 20, 2024

Short Description

Implement some logic to ensure that aria-live messages, that are send in polite mode, do not interrupt the user, while typing some text into a text-element.

The problem occurs because the CK5-Editor is not recognized as an input field by the browser and by that the user interactions in it are not handled the same way as if he/she would type in a normal textfield.
The solution that was implemented:

  1. switches the notifier into a queueing mode that collects all messages that are generated
  2. considers every key being pressed in the CK5-Editor as an interaction that should delay the notifications
  3. switches back to write mode after 1500ms have passed without the user pressing any key in the CK5-Editor
  4. writes all messages when being in write-mode

Links to Ticket and related Pull-Requests

BC-7520

Checklist before merging

  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • PO: Any deviation from requirements was agreed with Product-Owner / ticket author / support-team
  • DEV: Every new component is implemented having accessibility in mind (e.g. aria-label, role property)

Notice: Please keep this Pull-Request as a Draft (or add WIP label), until it is ready to be reviewed

@hoeppner-dataport hoeppner-dataport enabled auto-merge (squash) June 25, 2024 14:42
Copy link

sonarcloud bot commented Jun 25, 2024

@hoeppner-dataport hoeppner-dataport merged commit fecb37c into main Jun 25, 2024
46 of 48 checks passed
@hoeppner-dataport hoeppner-dataport deleted the BC-7520-a11y-messages branch June 25, 2024 14:52
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.

2 participants