You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.html
+38-12Lines changed: 38 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,11 @@ <h6>Sixth header h6</h6>
118
118
<p>
119
119
If I didn't have my parents to think about I'd have given in my notice a long time ago, I'd have gone up to the boss and told him just what I think, tell him everything I would, let him know just what I feel. He'd fall right off his desk! And it's a funny sort of business to be sitting up there at your desk, talking down at your subordinates from up there, especially when you have to go right up close because the boss is hard of hearing. Well, there's still some hope; once I've got the money together to pay off my parents' debt to him - another five or six years I suppose - that's definitely what I'll do. That's when I'll make the big change. First of all though, I've got to get up, my train leaves at five."
120
120
</p>
121
+
122
+
<h2>Notes:</h2>
123
+
<p>
124
+
<small>Ensure that headings create a logical order. Apply <abbr="Cascading Style Sheets">CSS</abbr> classes to control visual presentation (e.g. <code><h2 class="type-size-medium color-blue-dark">Our services</h2></code> ).</small>
125
+
</p>
121
126
</section><!-- End of #section__headings -->
122
127
123
128
<hr/>
@@ -470,7 +475,7 @@ <h3>Notes:</h3>
470
475
<small>Different implementations of <abbr>SVG</abbr> have <arel="external noopener" href="https://css-tricks.com/accessible-svgs/">different approaches for being made accessible</a>.</small>
471
476
</li>
472
477
<li>
473
-
<small>Apply <code>focusable=”false”</code>to any <abbr>SVG</abbr>placed inside of<arel="external noopener" href="http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-5">a focusable element such as a link or button</a>.</small>
478
+
<small>Add whitespace around the <code>use</code>element in a <abbr>SVG</abbr>icon system to<arel="external noopener" href="http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-5">prevent a focus bug with Safari 10</a>.</small>
<small>Some pointers on <arel="external noopener" href="https://css-tricks.com/sliding-nightmare-understanding-range-input/">styling the range input</a>.</small>
792
+
</p>
793
+
784
794
</fieldset><!-- End of #subsection__non-text-input -->
785
795
786
796
<fieldsetid="subsection__select" role="region" aria-labelledby="subtitle__select"><!-- Start of #subsection__select -->
@@ -954,7 +964,7 @@ <h3 id="subtitle__checkboxes-and-radio-buttons">Checkboxes and Radio Buttons</h3
954
964
id="x-large"
955
965
name="beverage"
956
966
type="radio" />
957
-
Large
967
+
Extra Large
958
968
</label>
959
969
960
970
</fieldset>
@@ -966,39 +976,42 @@ <h3 id="subtitle__checkboxes-and-radio-buttons">Checkboxes and Radio Buttons</h3
<small>Add <code>type="button"</code> to <code><button></code> elements placed outside of forms to prevent some browsers from attempting to submit form data.</small>
1027
+
</li>
1012
1028
<li>
1013
1029
<small>Add <code>pointer-events: none;</code> to <arel="external noopener" href="https://twitter.com/stowball/status/857707052545613824">inline SVG icons placed in buttons</a>.</small>
1014
1030
</li>
1031
+
<li>
1032
+
<small>Add <code>focusable="false"</code> to SVG inside of a focusable element (links, buttons, etc.) to prevent <arel="external noopener" href="https://simplyaccessible.com/article/7-solutions-svgs#acc-heading-4">a bug with Internet Explorer</a>.</small>
1033
+
</li>
1015
1034
<li>
1016
1035
<small>Use <code>tabindex="0"</code> in conjunction with <code>role="button"</code> to ensure that the text button is focusable. Use <code>cursor: pointer;</code> in the CSS to communicate that it is interactable. Learn more about <arel="external noopener" href="https://css-tricks.com/use-button-element/"><cite>When To Use The Button Element</cite></a>.</small>
<divid="subsection__buttons" role="region" aria-labelledby="subtitle__buttons"><!-- Start of #subsection__buttons -->
1181
1205
<h4id="subtitle__buttons">Buttons</h4>
1182
1206
<button
1183
-
disabled>
1207
+
disabled
1208
+
type="button">
1184
1209
Disabled
1185
1210
</button>
1186
1211
1187
1212
<button
1188
-
aria-busy="true">
1213
+
aria-busy="true"
1214
+
type="button">
1189
1215
Loading
1190
1216
</button>
1191
1217
1192
1218
<h5>Notes:</h5>
1193
1219
<p>
1194
-
<small>Use <code>:hover</code>, <code>:focus</code>, and <code>:active</code> selectors to control the other button states. Learn more about <arel="external noopener" href="https://medium.com/eightshapes-llc/buttons-in-design-systems-eac3acf7e23#.b1p96hsrw">Buttons in Design Systems</a>.</small>
1220
+
<small>Use <code>:hover</code>, <code>:focus</code>, and <code>:active</code> selectors to control the other button states. Learn more about <arel="external noopener" href="https://css-tricks.com/user-facing-state/">semantically managing state</a> and using <arel="external noopener" href="https://medium.com/eightshapes-llc/buttons-in-design-systems-eac3acf7e23#.b1p96hsrw"><cite>Buttons in Design Systems</cite></a>.</small>
1195
1221
</p>
1196
1222
</div><!-- End of #subsection__buttons -->
1197
1223
</fieldset><!-- End of #subsection__states-and-validation -->
0 commit comments