Skip to content
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

[#1717] Fixed issue with tab state a11y. #1781

Merged
merged 1 commit into from
Aug 26, 2019
Merged

Conversation

tonyanziano
Copy link
Contributor

#1717

===

Tab state is now correctly read by screen reader and number of tabs is enumerated.

Copy link
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - one nitpick comment

<div className={styles.tabFocusTarget} role="button" tabIndex={0} aria-label={`${label}, tab`}>
{this.props.dirty ? <span role="presentation">*</span> : null}
<div className={styles.tabSeparator} role="presentation" />
<div className={styles.tabFocusTarget} role="tab" tabIndex={0} aria-label={`${label}`} aria-selected={active}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alphabetical sort? (feel free to ignore)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 65.342% when pulling 40b9060 on toanzian/acc-#1717 into 55f9db9 on master.

@tonyanziano tonyanziano merged commit 3dcbad5 into master Aug 26, 2019
@tonyanziano tonyanziano deleted the toanzian/acc-#1717 branch August 26, 2019 23:06
@corinagum corinagum changed the title Fixed issue with tab state a11y. [#1717] Fixed issue with tab state a11y. Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants