Skip to content

Mouse down triggers input #19571

Open
Open
@srancour

Description

@srancour

Describe the defect

Any input buttons in the edit experience trigger on mouse down, which causes the buttons to fire no matter if it's a right or left click and no way to cancel the press breaking WCAG 2.5.2 Pointer Cancellation.

To Reproduce

Steps to reproduce the behavior:

  1. Go to a page like a VAMC Detail Page that has an <input> button like the Featured content Add Page-Specific Q&A button
  2. Go to edit screen
  3. Right or left click and hold on any of the Add, Edit, or Remove buttons
  4. See button trigger on mouse down

AC / Expected behavior

The button should only trigger on left click and should wait until the mouse up trigger instead of mouse down.

Screenshots

Screenshot of the featured content block including the Add Page-Specific Q&A button and Add Rich text button in the edit experience

Additional context

This is an issue captured within Drupal Core and does appear to be under active development, but the last update was June 2024. From that ticket it seems to be related to the ajax trigger.

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)Drupal engineeringCMS team practice areaa11y-defect-2Serious accessibility issue that should be fixed in the next 1-2 sprintsaccessibilityIssues related to accessibility

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions