From 11dea53afea263a2c6cca2527a558b4211f5970e Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Thu, 17 Oct 2024 15:24:07 +0200 Subject: [PATCH 1/2] Editorial tweaks to object name rule --- _rules/object-has-accessible-name-8fc3b6.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/_rules/object-has-accessible-name-8fc3b6.md b/_rules/object-has-accessible-name-8fc3b6.md index f5e7cdb189..dccea93bed 100644 --- a/_rules/object-has-accessible-name-8fc3b6.md +++ b/_rules/object-has-accessible-name-8fc3b6.md @@ -50,11 +50,7 @@ The [MIME type][] of the resource embedded in the `data` attribute impacts how t Testing that the [accessible name][] describes the purpose of the `object` element is not part of this rule and must be tested separately. -Non-supported media formats make screen readers render the text content of the element instead of other attributes. - -`Object` elements without an accessible name are ignored by assistive technologies unless they have an [explicit role][]. - -When the object resource is not loaded, the fallback content is rendered as shown in the Inapplicable Example: "This `object` element does not need an accessible name because it loads no image, audio, or video." +When the object resource is not loaded, the fallback content is rendered as shown in the Inapplicable Example: "This `object` element does not need an accessible name because it loads no image, audio, or video.". When screen readers encounter an unsupported media format they will also use the fallback content instead of other attributes. ### Bibliography From e552bde0995f9513bf59527808c0efd55ea6da7e Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Thu, 12 Dec 2024 16:08:23 +0100 Subject: [PATCH 2/2] Update _rules/object-has-accessible-name-8fc3b6.md Co-authored-by: Carlos Duarte --- _rules/object-has-accessible-name-8fc3b6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/object-has-accessible-name-8fc3b6.md b/_rules/object-has-accessible-name-8fc3b6.md index dccea93bed..9e9bd2c9de 100644 --- a/_rules/object-has-accessible-name-8fc3b6.md +++ b/_rules/object-has-accessible-name-8fc3b6.md @@ -50,7 +50,7 @@ The [MIME type][] of the resource embedded in the `data` attribute impacts how t Testing that the [accessible name][] describes the purpose of the `object` element is not part of this rule and must be tested separately. -When the object resource is not loaded, the fallback content is rendered as shown in the Inapplicable Example: "This `object` element does not need an accessible name because it loads no image, audio, or video.". When screen readers encounter an unsupported media format they will also use the fallback content instead of other attributes. +When the object resource is not loaded, the fallback content, if present, is rendered as shown in the Inapplicable Example: "This `object` element does not need an accessible name because it loads no image, audio, or video.". When screen readers encounter an unsupported media format they will also use the fallback content instead of other attributes. ### Bibliography