fix(seed): Fix spelling and formatting issues (#16821)

Closes #16458
This commit is contained in:
Peter Elbaum
2018-03-20 11:16:14 -04:00
committed by mrugesh mohapatra
parent ed9cce022e
commit fbb9378ba6
2 changed files with 4 additions and 3 deletions

View File

@ -495,6 +495,7 @@
"description": [
"Improving accessibility with semantic HTML markup applies to using both appropriate tag names as well as attributes. The next several challenges cover some important scenarios using attributes in forms.",
"The <code>label</code> tag wraps the text for a specific form control item, usually the name or label for a choice. This ties meaning to the item and makes the form more readable. The <code>for</code> attribute on a <code>label</code> tag explicitly associates that <code>label</code> with the form control and is used by screen readers.",
"You learned about radio buttons and their labels in a lesson in the Basic HTML section. In that lesson, we wrapped the radio button input element inside a <code>label</code> element along with the label text in order to make the text clickable. Another way to achieve this is by using the <code>for</code> attribute as explained in this lesson.",
"The value of the <code>for</code> attribute must be the same as the value of the <code>id</code> attribute of the form control. Here's an example:",
"<blockquote>&lt;form&gt;<br> &lt;label for=&quot;name&quot;&gt;Name:&lt;/label&gt;<br> &lt;input type=&quottext&quot; id=&quot;name&quot; name=&quot;name&quot;&gt;<br>&lt;/form&gt;<br></blockquote>",
"<hr>",

View File

@ -1705,9 +1705,9 @@
"id": "bad87fee1348bd9aedf08834",
"title": "Create a Set of Radio Buttons",
"description": [
"You can use <code>radio buttons</code> for questions where you want the restrcit the user to only one answer out of multiple options.",
"Radio buttons are a type of <code>input</code> field",
"Each of your radio buttons should be nested within its own <code>label</code> element.",
"You can use <code>radio buttons</code> for questions where you want the user to only give you one answer out of multiple options.",
"Radio buttons are a type of <code>input</code>.",
"Each of your radio buttons should be nested within its own <code>label</code> element. Wrapping an <code>input</code> element inside of a <code>label</code> element makes the label text clickable.",
"All related radio buttons should have the same <code>name</code> attribute.",
"Here's an example of a radio button:",
"<blockquote>&#60;label&#62; <br> &#60;input type=\"radio\" name=\"indoor-outdoor\"&#62;Indoor <br>&#60;/label&#62;</blockquote>",