-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial tweaks to object name rule (#2218)
* Editorial tweaks to object name rule * Update _rules/object-has-accessible-name-8fc3b6.md Co-authored-by: Carlos Duarte <[email protected]> --------- Co-authored-by: Carlos Duarte <[email protected]>
- Loading branch information
1 parent
b6b3bd8
commit 7f2f01d
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ github: | |
feedbackmail: [email protected] | ||
footer: | | ||
<p><strong>Rule Identifier:</strong> 8fc3b6</p> | ||
<p><strong>Date:</strong> Updated 2 December 2024</p> | ||
<p><strong>Date:</strong> Updated 16 January 2025</p> | ||
<p><strong>Authors:</strong> <a href="https://github.com/AntonioEstriga">António Estriga</a>. Contributors: <a href="https://www.w3.org/community/act-r/participants">Participants of the ACT Rules Community Group (CG)</a>.</p> | ||
<p>This rule was written in the <a href="https://w3.org/community/act-r/">ACT Rules Community Group</a>. It is written as part of the EU-funded <a href="https://www.w3.org/WAI/about/projects/wai-tools/">WAI-Tools Project</a>. Implementations are part of the EU funded <a href="https://www.w3.org/WAI/about/projects/wai-coop/">WAI-CooP Project</a>. It will be reviewed by the Accessibility Guidelines Working Group (<a href="https://www.w3.org/groups/wg/ag">AG WG</a>).</p> | ||
|
@@ -22,7 +22,7 @@ rule_meta: | |
original_file: object-has-accessible-name-8fc3b6.md | ||
description: | | ||
This rule checks that each `object` element rendering non-text content has a non-empty accessible name. | ||
last_modified: 2 December 2024 | ||
last_modified: 16 January 2025 | ||
scs_tested: | ||
- handle: Non-text Content | ||
num: 1.1.1 | ||
|
@@ -45,11 +45,7 @@ Each target element has an [accessible name][] that is not empty (`""`). | |
|
||
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, 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. | ||
|
||
### Assumptions | ||
|
||
|