Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html-aam PR 401] handling fallback content for the meter element #2222

Closed
wants to merge 13 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion html-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5124,7 +5124,16 @@ <h4 id="el-meter">`meter`</h4>
<!-- <th><a href="#accessible-name-and-description-computation">Naming Algorithm</a></th> -->
<tr>
<th>Comments</th>
<td></td>
<td class="comments">
<div>
If the `meter` element's subtree contains text content, user agents SHOULD expose this content, along with the element's initial value, by exposing the fallback content via the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cookiecrook's migrated comment provided below:

element's subtree contains text content, user agents SHOULD expose this content

Should this use "text node"?

Or innerText?

along with the element's initial value, by exposing the fallback content

I dunno what this means... Does this mean concat the innerText and aria-valuenow, or convert aria-valuenow to a percentage and then concat? Does "along with" mean prepend? append? join(", ")?

<a class="core-mapping" href="#ariaValueText">`aria-valuetext`</a> mapping.
</div>
<p>
If the `value` of the `meter` element updates, but the fallback content of the `meter` does not, then User Agents MUST ignore the fallback content as it likely no longer represents
the current value of the element.
</p>
</td>
</tr>
</tbody>
</table>
Expand Down
Loading