-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make HorizontalScroll accessible #4599
Open
mvidalgarcia
wants to merge
6
commits into
master
Choose a base branch
from
marco/horizonal-scroll-a11y
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+129
−43
Conversation
This file contains 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
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
from
January 27, 2025 13:54
6a6e36d
to
d617a16
Compare
Size Change: +100 B (+0.02%) Total Size: 460 kB
ℹ️ View Unchanged
|
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
from
January 27, 2025 14:08
d617a16
to
dda0c95
Compare
Storybook staging is available at https://kiwicom-orbit-marco-horizonal-scroll-a11y.surge.sh Playroom staging is available at https://kiwicom-orbit-marco-horizonal-scroll-a11y.surge.sh/playroom |
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
3 times, most recently
from
January 27, 2025 16:27
f587b91
to
0b62d3b
Compare
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
from
January 27, 2025 16:42
0b62d3b
to
abaf8f0
Compare
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
2 times, most recently
from
January 28, 2025 16:46
6a4093e
to
531e389
Compare
mvidalgarcia
commented
Jan 28, 2025
mvidalgarcia
commented
Jan 28, 2025
sarkaaa
reviewed
Jan 29, 2025
sarkaaa
reviewed
Jan 29, 2025
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
2 times, most recently
from
January 30, 2025 12:18
9d418dd
to
49b7418
Compare
domihustinova
approved these changes
Jan 30, 2025
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
from
January 30, 2025 15:57
56068e6
to
eef070e
Compare
Addresses A11y rule id: scrollable-region-focusable Addresses FEPLT-2226
Addresses A11y rule ID: button-name Addresses FEPLT-2226 BREAKING CHANGE: HorizontalScroll component now requires `arrowLeftAriaLabel` and `arrowRightArialLabel` props if you have the `arrows` prop enabled. These will be converted into button aria-label attributes, make sure the passed value is properly translated.
This css attr seems to be unnecessary and it's breaking the focus outline styles on parent components. For instance, when HorizontalScroll wraps a TabList.
mvidalgarcia
force-pushed
the
marco/horizonal-scroll-a11y
branch
from
January 31, 2025 11:54
eef070e
to
e895742
Compare
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 FEPLT-2226
✨
Description by Callstackai
This PR enhances the accessibility of the
HorizontalScroll
component by adding ARIA labels for the arrow buttons, ensuring better support for screen readers.Diagrams of code changes
Files Changed
HorizontalScroll
to include ARIA labels.ArrowButton
component.This PR includes files in programming languages that we currently do not support. We have not reviewed files with the extensions
.md
. See list of supported languages.