{"id":298,"date":"2019-06-04T15:49:56","date_gmt":"2019-06-04T19:49:56","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/iwacc\/?post_type=chapter&#038;p=298"},"modified":"2019-07-30T22:04:12","modified_gmt":"2019-07-31T02:04:12","slug":"introduction-to-robust","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/chapter\/introduction-to-robust\/","title":{"raw":"Introduction to Robust","rendered":"Introduction to Robust"},"content":{"raw":"<div style=\"margin: 1em 0;padding: 1em;border: 1px solid #ddd;border-left: 10px solid #d35400\">\r\n<h2><strong>Principle 4:<\/strong> Robust<\/h2>\r\nContent must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.\r\n\r\n<\/div>\r\n<h3>The Principle Explained<\/h3>\r\nIf you open the browser\u2019s View Source feature while viewing a web page, you will find a document that consists of all the words that appear on the page (the content). Thickly interspersed with those words, there are non-words, numbers, and symbols (the code). The code describes how the content should be formatted and what purpose it serves.\r\n\r\nDuring the process of creating a web page, errors tend to creep into the code. In fact, mistakes are almost inevitable. These errors almost always affect the appearance and functionality of the page. The effects may be minor (the formatting is slightly off) or major (the page does not display at all).\r\n\r\n<strong>Principle 4<\/strong> is about making websites <i>robust<\/i>. A robust web page meets the following conditions:\r\n<ul>\r\n \t<li>It displays content as the author intends<\/li>\r\n \t<li>It functions as the author intends<\/li>\r\n \t<li>It is compatible with current and future browsers, web-enabled devices, and assistive technologies<\/li>\r\n<\/ul>\r\nBrowsers, web-enabled devices, and assistive technologies do their best to compensate for coding errors. But there are limits to what can be repaired. To conform to <strong>Principle 4<\/strong>, web authors are required to avoid specific kinds of coding errors.","rendered":"<div style=\"margin: 1em 0;padding: 1em;border: 1px solid #ddd;border-left: 10px solid #d35400\">\n<h2><strong>Principle 4:<\/strong> Robust<\/h2>\n<p>Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.<\/p>\n<\/div>\n<h3>The Principle Explained<\/h3>\n<p>If you open the browser\u2019s View Source feature while viewing a web page, you will find a document that consists of all the words that appear on the page (the content). Thickly interspersed with those words, there are non-words, numbers, and symbols (the code). The code describes how the content should be formatted and what purpose it serves.<\/p>\n<p>During the process of creating a web page, errors tend to creep into the code. In fact, mistakes are almost inevitable. These errors almost always affect the appearance and functionality of the page. The effects may be minor (the formatting is slightly off) or major (the page does not display at all).<\/p>\n<p><strong>Principle 4<\/strong> is about making websites <i>robust<\/i>. A robust web page meets the following conditions:<\/p>\n<ul>\n<li>It displays content as the author intends<\/li>\n<li>It functions as the author intends<\/li>\n<li>It is compatible with current and future browsers, web-enabled devices, and assistive technologies<\/li>\n<\/ul>\n<p>Browsers, web-enabled devices, and assistive technologies do their best to compensate for coding errors. But there are limits to what can be repaired. To conform to <strong>Principle 4<\/strong>, web authors are required to avoid specific kinds of coding errors.<\/p>\n","protected":false},"author":100,"menu_order":1,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-298","chapter","type-chapter","status-publish","hentry"],"part":36,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/chapters\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/wp\/v2\/users\/100"}],"version-history":[{"count":7,"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/chapters\/298\/revisions"}],"predecessor-version":[{"id":1176,"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/chapters\/298\/revisions\/1176"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/parts\/36"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/chapters\/298\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/pressbooks\/v2\/chapter-type?post=298"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/wp\/v2\/contributor?post=298"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/iwacc\/wp-json\/wp\/v2\/license?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}