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

[accname PR 183] Step 2C includes controls with value that are directly referenced by labelledby or describedby #2210

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 4 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
14 changes: 7 additions & 7 deletions accname/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@ <h4>Computation steps</h4>
</div>
</li>
<li id="comp_embedded_control">
<span id="step2C"><!-- Don't link to this legacy numbered ID. --></span><em>Embedded Control:</em> Otherwise, if the <code>current node</code> is a control embedded within the label
(e.g. any element directly referenced by <code>aria-labelledby</code>) for another <a class="termref">widget</a>, where the user can adjust the embedded control's value, then return
the embedded control as part of the text alternative in the following manner:
<ol>
<span id="step2C"><!-- Don't link to this legacy numbered ID. --></span><em>Embedded Control:</em> Otherwise, if the <code>current node</code> allows the user to adjust its value,
and is part of an ongoing <code>aria-labelledby</code> or <code>aria-describedby</code> traversal for another <a class="termref">widget</a>, process its text alternative in the
following manner:
<ul>
<li id="comp_embedded_control_textbox"><em>Textbox:</em> If the embedded control has role <a class="role-reference" href="#textbox">textbox</a>, return its value.</li>
<li id="comp_embedded_control_combobox_or_listbox">
<em>Combobox/Listbox:</em> If the embedded control has role <a class="role-reference" href="#combobox">combobox</a> or <a class="role-reference" href="#listbox">listbox</a>,
Expand All @@ -566,13 +566,13 @@ <h4>Computation steps</h4>
<li id="comp_embedded_control_range">
<em>Range:</em> If the embedded control has role <a class="role-reference" href="#range">range</a> (e.g., a <a class="role-reference" href="#spinbutton">spinbutton</a> or
<a class="role-reference" href="#slider">slider</a>):
<ol>
<ul>
<li id="comp_embedded_control_range_valuetext">If the <code>aria-valuetext</code> property is present, return its value,</li>
<li id="comp_embedded_control_range_valuenow">Otherwise, if the <code>aria-valuenow</code> property is present, return its value,</li>
<li id="comp_embedded_control_range_host_language_value">Otherwise, use the value as specified by a host language attribute.</li>
</ol>
</ul>
</li>
</ol>
</ul>
<aside class="example">
<p>
Consider a <a class="role-reference" href="#checkbox">check box</a> label that contains a text input field: "Flash the screen [input] times". If the input field has the value
Expand Down