From 7c155dc64cb0e0070b34fe99655e02fc57f711ee Mon Sep 17 00:00:00 2001 From: 1Copenut Date: Thu, 11 Apr 2024 10:07:36 -0500 Subject: [PATCH] Updated Tick marks docs to highlight accessibleLabel property. --- src-docs/src/views/range/range_example.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src-docs/src/views/range/range_example.js b/src-docs/src/views/range/range_example.js index 7a845151721..0a91e58d95d 100644 --- a/src-docs/src/views/range/range_example.js +++ b/src-docs/src/views/range/range_example.js @@ -238,6 +238,16 @@ export const RangeControlExample = { label. The value must be included in the range of values (min-max), though the label may be anything you choose.

+

+ The EuiRangeTick interface now includes an + optional accessibleLabel. This property is + combined with the current value to render an{' '} + aria-valuetext attribute. If the accessible label + is not included, aria-valuetext will be the + computed current value. This attribute is announced to screen reader + users and is useful when values are defined differently than tick + labels. +