Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
269 stars 75 forks source link

calcite-input: ensure that the cross icon that appears at the end of the input field when adding the clearable attribute is keyboard operable #9718

Open sakship2204 opened 4 days ago

sakship2204 commented 4 days ago

Check existing issues

Summary

When we add the clearable attribute to the calcite-input component, we get a cross icon to clear the text that we enter in the field. This clearable icon is not keyboard operable. We want to make it accessible using tab key for the specially abled users.

Screenshot 2024-07-01 at 11 38 39 AM

Actual Behavior

The clear button at the end of the calcite-input is not keyboard operable.

Expected Behavior

The clear button should be keyboard operable.

Reproduction Sample

--

Reproduction Steps

  1. Enter any text in the calcite-input component
  2. Press Tab repeatedly to navigate through the focusable elements on the page.
  3. Notice that the links are never focused. image

Reproduction Version

--

Working W3C Example/Tutorial

No response

Relevant Info

No response

Regression?

No response

Priority impact

impact - p1 - need for current milestone

Calcite package

Esri team

ArcGIS Enterprise

macandcheese commented 4 days ago

This is an intentional decision. Discussion: https://github.com/Esri/calcite-design-system/issues/2381