Skip to content

Comments

[9.1] [A11y] Add labels to control inputs (#221639)#226248

Closed
cqliu1 wants to merge 1 commit intoelastic:9.1from
cqliu1:backport/9.1/pr-221639
Closed

[9.1] [A11y] Add labels to control inputs (#221639)#226248
cqliu1 wants to merge 1 commit intoelastic:9.1from
cqliu1:backport/9.1/pr-221639

Conversation

@cqliu1
Copy link
Contributor

@cqliu1 cqliu1 commented Jul 2, 2025

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

## Summary

Closes elastic#183202.
Closes elastic#220687.

This adds aria-labels to the number fields on the range slider control.

<img width="704" alt="Screenshot 2025-05-27 at 8 10 38 AM"
src="https://github.com/user-attachments/assets/ffeb1b98-6765-41ab-abd3-bff2ce176cda"
/>

<img width="413" alt="Screenshot 2025-05-27 at 8 04 59 AM"
src="https://github.com/user-attachments/assets/e899b1f9-6290-463f-9213-2e0a456fa677"
/>

This also adds an aria-label to the search filter at the top of the
options list popover.

<img width="2559" alt="Screenshot 2025-06-02 at 7 23 53 AM"
src="https://github.com/user-attachments/assets/47e870dc-55c2-40bd-b461-a16022691810"
/>

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

---------

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
(cherry picked from commit f7dad16)
@cqliu1 cqliu1 requested a review from kibanamachine as a code owner July 2, 2025 15:20
@cqliu1 cqliu1 added the backport This PR is a backport of another PR label Jul 2, 2025
@cqliu1 cqliu1 enabled auto-merge (squash) July 2, 2025 15:20
@cqliu1
Copy link
Contributor Author

cqliu1 commented Jul 2, 2025

Closing in favor of #226249.

@cqliu1 cqliu1 closed this Jul 2, 2025
auto-merge was automatically disabled July 2, 2025 15:29

Pull request was closed

@cqliu1 cqliu1 mentioned this pull request Jul 2, 2025
9 tasks
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
controls 477.1KB 477.7KB +670.0B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants