Skip to content

Commit

Permalink
Editorial tweaks to object name rule (#2218)
Browse files Browse the repository at this point in the history
* 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
WilcoFiers and carlosapaduarte committed Jan 16, 2025
1 parent b6b3bd8 commit 7f2f01d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions content/rules/8fc3b6/proposed.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 7f2f01d

Please sign in to comment.