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

aria-label="Close" in Alert and ModalHeader components is hardcoded #524

Closed
rafalp opened this issue Aug 6, 2017 · 0 comments · Fixed by #525
Closed

aria-label="Close" in Alert and ModalHeader components is hardcoded #524

rafalp opened this issue Aug 6, 2017 · 0 comments · Fixed by #525

Comments

@rafalp
Copy link

rafalp commented Aug 6, 2017

Issue description

  • version master
  • components: Alert, ModalHeader

Currently the Alert and ModalHeader components hardcode the aria-label="Close" attribute, which seems inconsistend with rest of components, and makes it impossible to inject localized label from the application:

https://github.com/reactstrap/reactstrap/blob/master/src/Alert.js#L62
https://github.com/reactstrap/reactstrap/blob/master/src/ModalHeader.js#L38

TheSharpieOne pushed a commit that referenced this issue Aug 7, 2017
Add closeAriaLabel to Alert and ModalHeader to override default close value

Closes #524
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants