Hello,

Following this documentation page https://fontawesome.com/how-to-use/accessibility, I will make a patch these recommendations taken into account if possible.

Comments

Grimreaper created an issue. See original summary.

grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Active » Needs review
StatusFileSize
new2.31 KB

Here is the patch.

Thanks for the review.

grimreaper’s picture

StatusFileSize
new2.33 KB

Add a check in case of external link.

lonalore’s picture

Status: Needs review » Needs work

Hi! Thank you for your patch file, it looks good. Is that 'sr-only' span element really necessary (when the link text is hidden)? If it is, then we should include a CSS to visually hide the span element, because the 'sr-only' class is not hidden in non-bootstrap based themes.

grimreaper’s picture

Hello,

The "sr-only" class is used by the CSS provided by Fontawesome so no need to have Bootstrap-related CSS.

Is the span really necessary? I followed the documentation as much as I could.

grimreaper’s picture

Status: Needs work » Needs review

lonalore’s picture

Status: Needs review » Fixed

Excellent! Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

andrewmacpherson’s picture

Issue tags: -a11y +accessiblity

Core accessibility maintainer here. "accessibility" is the preferred tag. We're trying to avoid "a11y" because (a) lots of people don't understand the numeronym, and (b) we don't want two separate lists of issues to review. Hope you don't mind me removing this tag from a contrib project.

andrewmacpherson’s picture

Issue tags: -accessiblity +Accessibility

cleaning up issues with this typo in the tag name, this time it was my fault