Skip to content

Error links don't move focus #19580

Open
Open
@srancour

Description

@srancour

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMS TeamCMS Product team that manages both editor exp and devopsDefectSomething isn't working (issue type)a11y-defect-1Critical accessibility issue that should be fixed in the next sprintaccessibilityIssues related to accessibility

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions