Skip to content

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

@rafalp

Description

@rafalp

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions