{"id":1266,"date":"2019-09-23T09:00:48","date_gmt":"2019-09-23T16:00:48","guid":{"rendered":"https:\/\/blogs.lanecc.edu\/webteam\/?p=1266"},"modified":"2019-09-11T22:41:17","modified_gmt":"2019-09-12T05:41:17","slug":"understanding-wcag-2-1-1-3-4-orientation","status":"publish","type":"post","link":"https:\/\/blogs.lanecc.edu\/webteam\/2019\/09\/23\/understanding-wcag-2-1-1-3-4-orientation\/","title":{"rendered":"Understanding WCAG 2.1 &#8211; 1.3.4 Orientation"},"content":{"rendered":"<p>The very first success criterion we&#8217;ll look at is <a href=\"https:\/\/www.w3.org\/WAI\/WCAG21\/Understanding\/orientation.html\">1.3.4: Orientation<\/a> (level AA). Remember that WCAG 2.1 extends on the work already done in <a href=\"https:\/\/blogs.lanecc.edu\/webteam\/2016\/10\/11\/updated-accessibility-requirements\/\">2.0<\/a>, so because there was nothing added to parts 1.0, 1.1, or 1.2 we can skip those. Here&#8217;s the full text of the new criterion:<\/p>\n<blockquote><p>Content does not restrict its view and operation to a single display orientation, such as portrait or landscape, unless a specific display orientation is essential.<\/p><\/blockquote>\n<p>This is one that definitely feels like a best practice in user experience. Let&#8217;s take a look at an the Garmin Connect app, which both follows this standard really well and really poorly at the same time.<\/p>\n<p>Here&#8217;s one of the screens showing my steps for the day on my phone:<\/p>\n<figure id=\"attachment_1271\" aria-describedby=\"caption-attachment-1271\" style=\"width: 576px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-1271\" src=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-576x1024.jpeg\" alt=\"A screen, showing various widgets listing step information\" width=\"576\" height=\"1024\" srcset=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-576x1024.jpeg 576w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-169x300.jpeg 169w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-768x1365.jpeg 768w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-350x622.jpeg 350w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1.jpeg 1152w\" sizes=\"auto, (max-width: 576px) 85vw, 576px\" \/><\/a><figcaption id=\"caption-attachment-1271\" class=\"wp-caption-text\">Why yes, I did choose a day when I met my step goal handily.<\/figcaption><\/figure>\n<p>When the phone is in portrait mode (the way most of us hold our phones most of the time), everything looks good, although the astute reader will note that app violates <a href=\"https:\/\/www.w3.org\/TR\/UNDERSTANDING-WCAG20\/visual-audio-contrast-without-color.html\">success criterion 1.4.1<\/a>). But here&#8217;s what happens when we flip that onto its side:<\/p>\n<p><a href=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1272\" src=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1-1024x576.jpeg\" alt=\"It's the same picture, just sideways.\" width=\"584\" height=\"329\" srcset=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1-1024x576.jpeg 1024w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1-300x169.jpeg 300w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1-768x432.jpeg 768w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1-500x281.jpeg 500w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1-350x197.jpeg 350w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_56B1CDD005C6-1-1.jpeg 2048w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a>When we&#8217;re in landscape (the way most of us <em>should<\/em> shoot videos on our phone), everything is sideways. It&#8217;s, honestly, terribly annoying, if not a little lazy. If those boxes were to all rotate with the screen, and maybe just be oriented a little differently, the screen would be just as useful, and provide the exact same information.<\/p>\n<p>But the connect app also does a good job taking advantage of the different screen orientations to show different information. Here&#8217;s another example from an activity a while back:<\/p>\n<figure id=\"attachment_1273\" aria-describedby=\"caption-attachment-1273\" style=\"width: 576px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1273 size-large\" src=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1-576x1024.jpeg\" alt=\"Showing some statistics and two small graphs\" width=\"576\" height=\"1024\" srcset=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1-576x1024.jpeg 576w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1-169x300.jpeg 169w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1-768x1365.jpeg 768w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1-350x622.jpeg 350w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_C50DB2E11350-1.jpeg 1152w\" sizes=\"auto, (max-width: 576px) 85vw, 576px\" \/><\/a><figcaption id=\"caption-attachment-1273\" class=\"wp-caption-text\">It&#8217;s a little embarrassing how far back I had to look to find an activity.<\/figcaption><\/figure>\n<p>But this time, when we switch to landscape, we get a different screen:<\/p>\n<p><a href=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1275\" src=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1-1024x576.jpeg\" alt=\"A close-up, just of the two graphs\" width=\"584\" height=\"329\" srcset=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1-1024x576.jpeg 1024w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1-300x169.jpeg 300w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1-768x432.jpeg 768w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1-500x281.jpeg 500w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1-350x197.jpeg 350w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2019\/09\/IMG_4FB86906D75F-1.jpeg 2048w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a>The developers over at Garmin clearly felt that those graphs only make sense in landscape, where they can be a larger while maintaining proportion. I&#8217;m not sure I fully agree &#8211; sometimes activities are so long you need a monitor, not a phone &#8211; but they clearly feel that the specific screen orientation is essential to the information being displayed.<\/p>\n<p>If you&#8217;re leaving out screen orientation as a part of your media queries when developing for the web, then you&#8217;re probably in good shape. And, on the topic of good shape, feel free to send me a step challenge on Garmin Connect. I&#8217;ve got a camping trip coming up this fall, and for once I&#8217;d like to huff and puff less than the other folks with me.<\/p>\n<p>Looking for the <a href=\"https:\/\/blogs.lanecc.edu\/webteam\/2019\/09\/09\/exploring-wcag-2-1\/\">rest of the posts in this series<\/a>?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The very first success criterion we&#8217;ll look at is 1.3.4: Orientation (level AA). Remember that WCAG 2.1 extends on the work already done in 2.0, so because there was nothing added to parts 1.0, 1.1, or 1.2 we can skip those. Here&#8217;s the full text of the new criterion: Content does not restrict its view &hellip; <a href=\"https:\/\/blogs.lanecc.edu\/webteam\/2019\/09\/23\/understanding-wcag-2-1-1-3-4-orientation\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Understanding WCAG 2.1 &#8211; 1.3.4 Orientation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":86,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_google_business_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[38],"tags":[6],"class_list":["post-1266","post","type-post","status-publish","format-standard","hentry","category-wcag-2-1","tag-accessibility"],"_links":{"self":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts\/1266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/comments?post=1266"}],"version-history":[{"count":3,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts\/1266\/revisions"}],"predecessor-version":[{"id":1279,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts\/1266\/revisions\/1279"}],"wp:attachment":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/media?parent=1266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/categories?post=1266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/tags?post=1266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}