Skip to content

Commit 17361e0

Browse files
authored
Fix Element.ariaDisabled value description (mdn#5364)
1 parent 123c8a7 commit 17361e0

File tree

1 file changed

+3
-5
lines changed
  • files/en-us/web/api/element/ariadisabled

1 file changed

+3
-5
lines changed

files/en-us/web/api/element/ariadisabled/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
<p class="summary">The <strong><code>ariaDisabled</code></strong> property of the {{domxref("Element")}} interface reflects the value of the <code>aria-disabled</code> attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.</p>
1616

1717
<div class="notecard note">
18-
<h3>Note</h3>
19-
<p>Where possible use an HTML {{htmlelement("input")}} element with <code>type="button"</code> or the {{htmlelement("button")}} element as these have built in semantics and do not require ARIA attributes.</p>
18+
<p><strong>Note:</strong> Where possible, use the {{htmlelement("input")}} element with <code>type="button"</code> or the {{htmlelement("button")}} element —  because those elements have built in semantics and do not require ARIA attributes.</p>
2019
</div>
2120

2221
<h2 id="Syntax">Syntax</h2>
@@ -29,10 +28,9 @@ <h3>Value</h3>
2928

3029
<dl>
3130
<dt><code>"true"</code></dt>
32-
<dd>The element is enabled.</dd>
31+
<dd>The element and all focusable descendants are disabled, but perceivable, and their values cannot be changed by the user.</dd>
3332
<dt><code>"false"</code></dt>
34-
<dd>The element and all focusable descendants are disabled and its value cannot be changed by the user.</dd>
35-
</dl>
33+
<dd>The element is enabled.</dl>
3634

3735
<h2 id="Examples">Examples</h2>
3836

0 commit comments

Comments
 (0)