Skip to content

Commit cf63ed2

Browse files
authored
Merge pull request #3177 from w3c/mikegower-adjusted-inactive-controls-info2
Adding inactive component info to Contrast
2 parents 68eb1a1 + 550896e commit cf63ed2

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

‎understanding/20/contrast-enhanced.html‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,15 @@ <h3>Notes on formula</h3>
219219

220220
</section>
221221

222+
<section id="inactive-controls">
223+
<h3>Inactive User Interface Components</h3>
224+
225+
<p>User Interface Components that are not available for user interaction (e.g., a disabled control in HTML) are not required to meet contrast requirements. An inactive user interface component is visible but not currently operable. An example would be a submit button at the bottom of a form that is visible but cannot be activated until all the required fields in the form are completed.</p>
226+
<figure id="figure-grey-button-and-text">
227+
<img src="img/inactive-button.png" alt="Grey button with non-contrasting grey text." width="120" />
228+
<figcaption> An inactive button using default browser styles</figcaption>
229+
</figure>
230+
</section>
222231

223232
</section>
224233
<section id="benefits">

‎understanding/20/contrast-minimum.html‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,15 @@ <h3>Notes on formula</h3>
225225

226226
</section>
227227

228+
<section id="inactive-controls">
229+
<h3>Inactive User Interface Components</h3>
230+
231+
<p>User Interface Components that are not available for user interaction (e.g., a disabled control in HTML) are not required to meet contrast requirements. An inactive user interface component is visible but not currently operable. An example would be a submit button at the bottom of a form that is visible but cannot be activated until all the required fields in the form are completed.</p>
232+
<figure id="figure-grey-button-and-text">
233+
<img src="img/inactive-button.png" alt="Grey button with non-contrasting grey text." width="120" />
234+
<figcaption> An inactive button using default browser styles</figcaption>
235+
</figure>
236+
</section>
228237

229238
</section>
230239
<section id="benefits">

‎understanding/21/non-text-contrast.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ <h4>Active User Interface Component Examples</h4>
268268
<section id="inactive-controls">
269269
<h4>Inactive User Interface Components</h4>
270270

271-
<p>User Interface Components that are not available for user interaction (e.g., a disabled control in HTML) are not required to meet contrast requirements in WCAG 2.1. An inactive user interface component is visible but not currently operable. An example would be a submit button at the bottom of a form that is visible but cannot be activated until all the required fields in the form are completed.</p>
271+
<p>User Interface Components that are not available for user interaction (e.g., a disabled control in HTML) are not required to meet contrast requirements. An inactive user interface component is visible but not currently operable. An example would be a submit button at the bottom of a form that is visible but cannot be activated until all the required fields in the form are completed.</p>
272272
<figure id="figure-grey-button-and-text">
273273
<img src="img/inactive-button.png" alt="Grey button with non-contrasting grey text." width="120" />
274274
<figcaption> An inactive button using default browser styles</figcaption>

0 commit comments

Comments
 (0)