-
Notifications
You must be signed in to change notification settings - Fork 15
fix: MOVES-10042 screenreader after animations #1358
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
base: master
Are you sure you want to change the base?
Conversation
|
Size stats
|
|
Accessibility report ❌ 2 problems detectedpatterns-feedback-successfeedback--success (1 violations)patterns-feedback-successfeedback--success-as-header (1 violations)ℹ️ You can run this locally by executing |
|
Deploy preview for mistica-web ready! ✅ Preview Built with commit b1a5a74. |
| }: AssetFeedbackProps): JSX.Element => { | ||
| useHapticFeedback('success'); | ||
| const {skinName, platformOverrides} = useTheme(); | ||
| const [isShouldRead, setShouldRead] = React.useState(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the initial state depend on areAnimationsSupported?
| <div | ||
| className={classnames(animateText && styles.feedbackTextAppearMedium)} | ||
| data-testid="description" | ||
| aria-hidden={hideOthers} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do these divs need to be hiden?they are also animated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they are hidden because if not, the screen reader reads then before the title
No description provided.