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

Improve accessibility of close buttons in modals & alerts #13493

Merged
merged 1 commit into from
May 4, 2014

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented May 4, 2014

Adds textual caption to the close buttons. The "X" multiplication sign isn't very meaningful to screenreaders.

Per/Credit: https://github.com/paypal/bootstrap-accessibility-plugin

/cc @mdo for review

@cvrebert cvrebert added the docs label May 4, 2014
@cvrebert cvrebert added this to the v3.2.0 milestone May 4, 2014
@mdo
Copy link
Member

mdo commented May 4, 2014

Should it be more specific? Like, "Close alert"?

@cvrebert
Copy link
Collaborator Author

cvrebert commented May 4, 2014

🤷 Plain "Close" was apparently good enough for the PayPal folks and avoids context sensitivity. But I'm willing to change it if you want.

@mdo
Copy link
Member

mdo commented May 4, 2014

Nah this looks fine. Nice work <3.

cvrebert added a commit that referenced this pull request May 4, 2014
Improve accessibility of close buttons in modals & alerts
@cvrebert cvrebert merged commit ce2cad6 into master May 4, 2014
@cvrebert cvrebert deleted the close-btn-access branch May 4, 2014 07:34
@mdo mdo mentioned this pull request May 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants