Skip to content

Size-editor help trigger incorrectly uses tooltip role #24

Description

@vvallalta-code

Summary

The size-editor help trigger uses role="tooltip" on an interactive element. This replaces the control???s intended semantics with tooltip semantics and results in incorrect assistive-technology output.

Location

  • Package: @paperbits/styles
  • Component: size editor
  • Audit scope: sibling style editors that use the same help-trigger pattern.

Expected behavior

The trigger retains native interactive semantics. Tooltip semantics belong to the tooltip content, with the trigger and tooltip associated appropriately.

Acceptance criteria

  • Remove role="tooltip" from the size-editor trigger.
  • Preserve or add an accessible name for the trigger.
  • Associate tooltip content with the trigger using the package???s supported tooltip pattern.
  • Audit sibling size/style editor help triggers and correct the same pattern where present.
  • Verify keyboard operation and screen-reader output.

Tracking: Azure DevOps 30050268

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions