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

[BREAKING] Use aria attributes instead of classes for options. #292

Merged

Conversation

cibernox
Copy link
Owner

@cibernox cibernox commented Feb 5, 2016

Warning.
Classes ending in --disabled, --highlighted and --selected have been
replaced by aria attributes [aria-disabled="true"], [aria-current="true"] and [aria-selected="true"]
respectively. Those attributes are needed for a11y and the recomendation is to style based on them
instead of classes.

Styles have been updated accordingly, so people using them and customizing the appearance using the
sass variables won't notice anything, but people that relied on those classes for overriding styles
will have to update them.

**Warning**.
Classes ending in `--disabled`, `--highlighted` and `--selected` have been
replaced by aria attributes `[aria-disabled="true"]`, `[aria-current="true"]` and `[aria-selected="true"]`
respectively. Those attributes are needed for a11y and the recomendation is to style based on them
instead of classes.

Styles have been updated accordingly, so people using them and customizing the appearance using the
sass variables won't notice anything, but people that relied on those classes for overriding styles
will have to update them.
cibernox added a commit that referenced this pull request Feb 5, 2016
…favour_of_aria_attributes

[BREAKING] Use aria attributes instead of classes for options.
@cibernox cibernox merged commit 1438dc1 into master Feb 5, 2016
@cibernox cibernox deleted the ditch_options_BEM_modifiers_in_favour_of_aria_attributes branch February 5, 2016 10:51
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.

None yet

2 participants