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

Error links don't move focus #19580

Open
srancour opened this issue Oct 22, 2024 · 0 comments
Open

Error links don't move focus #19580

srancour opened this issue Oct 22, 2024 · 0 comments
Labels
a11y-defect-1 Critical accessibility issue that should be fixed in the next sprint accessibility Issues related to accessibility CMS Team CMS Product team that manages both editor exp and devops Defect Something isn't working (issue type)

Comments

@srancour
Copy link
Contributor

Describe the defect

Similar to #19375 and #19368, when pressing the link for any error, like too many characters, the focus doesn't move to the correct element and instead links to an id that doesn't exist instead of the id of the element.

To Reproduce

Steps to reproduce the behavior:

  1. Edit any node
  2. Create a user error that will process on save attempt
  3. Add something into the log message
  4. Press Save
  5. Press the error link and see the focus not move and the url not change

AC / Expected behavior

The error link should link to the field that caused the error and move the focus.

Screenshots

Screenshot of an error with a link stating 1 error has been found: Meta description.

Additional context

This is an issue within Drupal Core, but can't find any ticket in the Drupal Core backlog for this issue.

@srancour srancour added a11y-defect-1 Critical accessibility issue that should be fixed in the next sprint accessibility Issues related to accessibility CMS Team CMS Product team that manages both editor exp and devops Defect Something isn't working (issue type) Needs refining Issue status labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y-defect-1 Critical accessibility issue that should be fixed in the next sprint accessibility Issues related to accessibility CMS Team CMS Product team that manages both editor exp and devops Defect Something isn't working (issue type)
Projects
None yet
Development

No branches or pull requests

2 participants