From 09c38ff06e6a10a25eaeffa1dd24d217565079f1 Mon Sep 17 00:00:00 2001 From: Aron Janecki Date: Thu, 9 Sep 2021 10:09:49 +0100 Subject: [PATCH] Making sure images are displayed- 46ca7f (#1702) * Making sure images are displayed- 46ca7f The W3c logo is not displayed at the moment in rule [Element marked as decorative is not exposed](https://act-rules.github.io/rules/46ca7f) No need for call for Review. * Update _rules/element-marked-decorative-is-not-exposed-46ca7f.md Co-authored-by: Trevor R. Bostic <32486143+tbostic32@users.noreply.github.com> Co-authored-by: Trevor R. Bostic <32486143+tbostic32@users.noreply.github.com> --- ...ment-marked-decorative-is-not-exposed-46ca7f.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_rules/element-marked-decorative-is-not-exposed-46ca7f.md b/_rules/element-marked-decorative-is-not-exposed-46ca7f.md index 4a448f1f429..96a75f7b825 100755 --- a/_rules/element-marked-decorative-is-not-exposed-46ca7f.md +++ b/_rules/element-marked-decorative-is-not-exposed-46ca7f.md @@ -51,7 +51,7 @@ When these conflicts arise on [decorative][] [non-text content][], this is also This `img` element is [marked as decorative][] through its `alt` attribute and is not [included in the accessibility tree][] because of the `aria-hidden` attribute. ```html - + ``` #### Passed Example 2 @@ -59,7 +59,7 @@ This `img` element is [marked as decorative][] through its `alt` attribute and i This `img` element is [marked as decorative][] through its `alt` attribute and is not [included in the accessibility tree][] because it is `hidden` to everyone. ```html - + ``` #### Passed Example 3 @@ -77,15 +77,15 @@ This `nav` element is [marked as decorative][] through its `role` attribute and This `img` element is [marked as decorative][] through its empty `alt` attribute and has [semantic role][] of `none`. ```html - + ``` #### Passed Example 5 -This `img` element is [marked as decorative][] through its `role` attribute and has a [semantic role][] of `none` because own attributes are not required to be exposed and thus do no trigger the [presentational roles conflict resolution][]. +This `img` element is [marked as decorative][] through its `role` attribute and has a [semantic role][] of `none` because own attributes are not required to be exposed and thus do not trigger the [presentational roles conflict resolution][]. ```html -W3C logo +W3C logo ``` #### Passed Example 6 @@ -115,7 +115,7 @@ This `nav` element is [marked as decorative][] through its `role` attribute but This `img` element is [marked as decorative][] through its empty `alt` attribute but has a non-empty `aria-labelledby` attribute causing it to be [included in the accessibility tree][] with its [implicit role][] of `img`. ```html - + ``` #### Failed Example 3 @@ -135,7 +135,7 @@ This `svg` element is [marked as decorative][] through its `role` attribute but This `img` element is not [marked as decorative][]. ```html - + ``` [decorative]: https://www.w3.org/TR/WCAG21/#dfn-pure-decoration 'WCAG definition of Pure decoration'