Skip to content

[Slider] Add a new property to support custom values for assistive technologies #13705

@geospatialem

Description

@geospatialem

monday.com sync: #11013842576

Check existing issues

Which Component

Slider

Description

Add a new property to the component to allow customization to the value using the aria-valuetext attribute. The new attribute could be valueLabel (Note: Open to a different naming convention, naming is hard 😄)

This request differs from #13529, where a label property will provide context to the component. This new property will instead provide context to the component's value.

Acceptance Criteria

Offer a new property that allows developers to specify how the value is communicated to assistive technologies.

For instance, if the component is configured to a time of day, rather than number, the property could be configured to "8:00 AM" or "5:30 PM" instead of reading out underlying milliseconds.

Relevant Info

Surfaced by @hccampos and Maps SDK for JS is adding similar functionality with common components

Example Use Case

Refer to the description and acceptance criteria above

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArcGIS Maps SDK for JavaScriptIssues logged by ArcGIS SDK for JavaScript team members.Calcite (dev)Issues logged by Calcite developers.a11yIssues related to Accessibility fixes or improvements.c-sliderIssues that pertain to the calcite-slider componentcalcite-componentsIssues specific to the @esri/calcite-components package.enhancementIssues tied to a new feature or request.estimate - 3A day or two of work, likely requires updates to tests.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - mediumIssue is non core or affecting less that 60% of people using the library

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions