Skip to content

Commit 2e5fba1

Browse files
committed
Add 'meter' role
Addresses github issue #451.
1 parent 2a72f09 commit 2e5fba1

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

index.html

+88
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ <h3>Widget Roles</h3>
618618
<li><rref>menuitem</rref></li>
619619
<li><rref>menuitemcheckbox</rref></li>
620620
<li><rref>menuitemradio</rref></li>
621+
<li><rref>meter</rref></li>
621622
<li><rref>option</rref></li>
622623
<!-- FIXME: This is commented out because the ARIA Working Group agreed to move the password role to ARIA 2.0,
623624
but we've not branched for 1.1 yet. Once we have branched, this section should be deleted from the 1.1
@@ -4051,6 +4052,93 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>
40514052
</tbody>
40524053
</table>
40534054
</div>
4055+
<div class="role" id="meter">
4056+
<rdef>meter</rdef>
4057+
<div class="role-description">
4058+
<p>An <a>element</a> that represents a scalar measurement within a known range, or a fractional value. See related <rref>progress</rref>.</p>
4059+
<p>Authors MUST NOT use the <code>meter</code> role to represent a value whose minimum and maximum values are unknown and MUST use <pref>aria-valuemin</pref> and <pref>aria-valuemax</pref> to make these values available to assistive technologies.</p>
4060+
<p>Authors SHOULD NOT use the <code>meter</code> role to indicate progress; the <rref>progressbar</rref> role exists to address that need.</p>
4061+
<p class="note">At the present time, there are no <abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> properties corresponding to the <code>low</code>, <code>optimum</code>, and <code>high</code> attributes supported on <a href="https://www.w3.org/TR/html50/forms.html#the-meter-element"><abbr title="Hypertext Markup Language">HTML</abbr> <code>meter</code></a>. The addition of these properties will be considered for ARIA version 1.3.</p>
4062+
<p>Authors wishing to communicate that the displayed value is low, optimum, or high SHOULD do so by including this information in <pref>aria-valuetext</pref>.</p>
4063+
</div>
4064+
<table class="role-features">
4065+
<caption>Characteristics:</caption>
4066+
<thead>
4067+
<tr>
4068+
<th scope="col">Characteristic</th>
4069+
<th scope="col">Value</th>
4070+
</tr>
4071+
</thead>
4072+
<tbody>
4073+
<tr>
4074+
<th class="role-abstract-head" scope="row">Is Abstract:</th>
4075+
<td class="role-abstract"> </td>
4076+
</tr>
4077+
<tr>
4078+
<th class="role-parent-head" scope="row">Superclass Role:</th>
4079+
<td class="role-parent"><rref>range</rref></td>
4080+
</tr>
4081+
<tr>
4082+
<th class="role-children-head" scope="row">Subclass Roles:</th>
4083+
<td class="role-children">Placeholder</td>
4084+
</tr>
4085+
<tr>
4086+
<th class="role-base-head" scope="row">Base Concept:</th>
4087+
<td class="role-base"> </td>
4088+
</tr>
4089+
<tr>
4090+
<th class="role-related-head" scope="row">Related Concepts:</th>
4091+
<td class="role-related"><a href="https://www.w3.org/TR/html50/forms.html#the-meter-element"><abbr title="Hypertext Markup Language">HTML</abbr> <code>meter</code></a></td>
4092+
</tr>
4093+
<tr>
4094+
<th class="role-scope-head" scope="row">Required Context Role:</th>
4095+
<td class="role-scope"> </td>
4096+
</tr>
4097+
<tr>
4098+
<th class="role-mustcontain-head" scope="row">Required Owned Elements:</th>
4099+
<td class="role-mustcontain"> </td>
4100+
</tr>
4101+
<tr>
4102+
<th class="role-required-properties-head">Required States and Properties:</th>
4103+
<td class="role-required-properties">
4104+
<ul>
4105+
<li><pref>aria-valuemax</pref></li>
4106+
<li><pref>aria-valuemin</pref></li>
4107+
<li><pref>aria-valuenow</pref></li>
4108+
</ul>
4109+
</td>
4110+
</tr>
4111+
<tr>
4112+
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
4113+
<td class="role-properties"> </td>
4114+
</tr>
4115+
<tr>
4116+
<th class="role-inherited-head" scope="row">Inherited States and Properties:</th>
4117+
<td class="role-inherited">Placeholder</td>
4118+
</tr>
4119+
<tr>
4120+
<th class="role-namefrom-head" scope="row">Name From:</th>
4121+
<td class="role-namefrom">author</td>
4122+
</tr>
4123+
<tr>
4124+
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
4125+
<td class="role-namerequired">True</td>
4126+
</tr>
4127+
<tr>
4128+
<th class="role-namerequired-inherited-head" scope="row">Inherits Name Required:</th>
4129+
<td class="role-namerequired-inherited"> </td>
4130+
</tr>
4131+
<tr>
4132+
<th class="role-childpresentational-head" scope="row">Children Presentational:</th>
4133+
<td class="role-childpresentational">True</td>
4134+
</tr>
4135+
<tr>
4136+
<th class="role-presentational-inherited-head" scope="row">Inherits Presentational:</th>
4137+
<td class="role-presentational-inherited"> </td>
4138+
</tr>
4139+
</tbody>
4140+
</table>
4141+
</div>
40544142
<div class="role" id="menu">
40554143
<rdef>menu</rdef>
40564144
<div class="role-description">

0 commit comments

Comments
 (0)