Robust2:22 with Aisha Blake
Your content should always work, no matter what the user agent is, including but certainly not limited to assistive technologies.
Now, this last guideline, 0:00 the only one that falls under the robust principle, might seem vague. 0:02 It might seem like common sense or it might not make any sense at all to you. 0:07 Let's break it down and see if we can't clarify the final 2.0 guideline. 0:12 Compatible. 0:18 The first success criterion states in no uncertain terms that you 0:19 must write your HTML correctly, and completely. 0:24 That's right, to conform with this rule, all we need to do 0:28 is the web developers version of crossing our Ts, and dotting our Is. 0:32 Make sure all your HTML tags match up. 0:37 There are no stray characters lurking around. 0:40 And elements are nested properly. 0:43 The second is honestly quite similar, but 0:45 focuses on the functionality of each element. 0:48 The function and state of any components on the webpage like form components or 0:51 video controls must be available to, and able to be changed by, the user. 0:57 Suppose you have a checkbox as part of a form. 1:03 It may be tempting to whip up your own version of the input element to make it 1:07 easier to style according to the design you're working from. 1:11 But doing so might render that component unusable by certain visitors to your site, 1:14 if you're not careful. 1:20 In each of these, note the references to specifications. 1:21 This guideline is telling us to write our markup 1:26 the way it's supposed to be written. 1:29 Don't take liberties with the language's syntax because you think it will be faster 1:31 or easier, because that could lead to negative effects 1:35 on the accessibility of your content. 1:39 Whoa, that was a ton of information to have crammed into your brain. 1:42 We've covered all 12 guidelines and their level A success criteria. 1:46 I highly recommend conforming to all success criteria that are relevant to 1:53 any given project. 1:57 Don't worry about criteria that don't apply to your content. 1:59 For example, if you don't have any audio or video, 2:02 you can safely ignore success criteria that deal with those forms of media. 2:06 There are other standards that we'll discuss as we go along, but 2:11 we'll lean heavily on 2.0 for guidance as we learn how to apply techniques to put 2:14 our content in more user's hands. 2:20
You need to sign up for Treehouse in order to download course files.Sign up