Skip to content

Commit

Permalink
More code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jan 4, 2023
1 parent e15878f commit 97f3d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/helpers/icon-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The icon link helper component modifies our default link styles to enhance their
Icon links assume [Bootstrap Icons](https://icons.getbootstrap.com) are being used, but you can use any icon or image you like.

{{< callout >}}
Icons used here are likely to be purely decorative, which means they should be hidden from assistive technologies using `aria-hidden="true"`, as we've done in our examples. For icons that are more than decorative, provide an appropriate text alternative via `alt` or `aria-label` attribute.
Icons used here are likely to be purely decorative, which means they should be hidden from assistive technologies using `aria-hidden="true"`, as we've done in our examples. For icons that are more than decorative, provide an appropriate text alternative via `alt` for `<img>` elements `role="img"` and `aria-label` for SVGs.
{{< /callout >}}

## Example
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.3/utilities/link.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ added: 5.3

## Link opacity

Change the alpha opacity of the link `rgba()` color value with utilities. Please be aware that changes to a color's opacity can result in contrast ratios below the WCAG minimum.
Change the alpha opacity of the link `rgba()` color value with utilities. Please be aware that changes to a color's opacity can lead to links with [*insufficient* contrast]({{< docsref "getting-started/accessibility#color-contrast" >}}).

{{< example >}}
<p><a class="link-opacity-10" href="#">Link opacity 10</a></p>
Expand Down

0 comments on commit 97f3d67

Please sign in to comment.