Skip to content

Commit

Permalink
Merge pull request #799 from LD4P/accessability
Browse files Browse the repository at this point in the history
Add an aria-lable so a screen reader will understand the sup tag
  • Loading branch information
jmartin-sul authored Jun 20, 2019
2 parents 9d2c299 + 00137e7 commit 43ed7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/editor/property/RequiredSuperscript.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class RequiredSuperscript extends Component {

const required = (
<OverlayTrigger trigger={['hover', 'focus']} placement="right" overlay={popover} key={shortid.generate()} >
<sup tabIndex="0" >
<sup aria-label="required" >
<FontAwesomeIcon className="asterick text-danger" icon={faAsterisk} />
</sup>
</OverlayTrigger>
Expand Down

0 comments on commit 43ed7ae

Please sign in to comment.