Repository navigation
chore(storybook): add accessible label to Input story - #609
Merged
ggdaltoso merged 1 commit intoNov 11, 2026
Merged
Conversation
|
|
Member
|
Thanks, @parthchilwerwar! The Input story now has an accessible name, and the play finds the field by it. 🎉 |
|
View your CI Pipeline Execution ↗ for commit be9965c
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
Member
|
@all-contributors please add @parthchilwerwar for a11y |
Contributor
|
I've put up a pull request to add @parthchilwerwar! 🎉 |
Contributor
Author
|
Thanks @ggdaltoso for the quick review and merge, and for adding me to the contributors list! Really appreciate it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #555
This picks up #564, which was closed waiting on a rebase.
The Input "Simple" story renders an
<input>with no accessible name, so axe'slabelrule flags it. I added'aria-label': 'Sample text input'to the story's args, and the play function now finds the field by that name, as suggested in #564.It's committed as
chore(storybook)so it doesn't publish a new@react95/core.What I ran:
a11y.testset to'error'inpackages/core/.storybook/preview.js(not committed),vitest run --config=vitest.config.mjs input.storiesfails on master with "Form elements must have labels" and passes on this branch.'todo'setting passes.tsc -p ./tsconfig.json --noEmitinpackages/coreis clean, and the pre-commit and pre-push hooks passed.