Kilotest: Diagnoses of CSS bans page rotation violation by HTML element 0 on Hesperian Health Guides page

Basics

About the Hesperian Health Guides page

About HTML element 0

About the CSS bans page rotation issue

Diagnoses

Here is how tools diagnose the CSS bans page rotation issue for HTML element 0 of the Hesperian Health Guides page.

  1. You have defined <acronym title="Cascading Style Sheets">CSS</acronym> orientation media feature <code>only screen and (orientation: landscape) and (max-width: 989px)</code> in <acronym title="Cascading Style Sheets">CSS</acronym> (location: <code>https://hesperian.org/wp-content/uploads/dynamic_avia/avia-merged-styles-594cc774af761cd5721a7c500da656d0---69d929daabf28.css</code>, cssText: <code>@media only screen and (orientation: landscape) and (max-width: 989px) { #top #av-burger-menu-ul { [...]</code>). Make sure that there is no message telling the user to reorient the device. The entirety of the author-controlled content needs to be re-oriented in order to meet the Success Criteria. Note about location: If the style sheet is a linked style sheet, the value of its attribute is its location. For inline style sheets, the value of this attribute is <code>null</code>.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: orientation

  2. You have defined <acronym title="Cascading Style Sheets">CSS</acronym> orientation media feature <code>screen and (max-width: 800px) and (orientation: landscape)</code> in <acronym title="Cascading Style Sheets">CSS</acronym> (location: <code>https://hesperian.org/wp-content/uploads/dynamic_avia/avia-merged-styles-594cc774af761cd5721a7c500da656d0---69d929daabf28.css</code>, cssText: <code>@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { [...]</code>). Make sure that there is no message telling the user to reorient the device. The entirety of the author-controlled content needs to be re-oriented in order to meet the Success Criteria. Note about location: If the style sheet is a linked style sheet, the value of its attribute is its location. For inline style sheets, the value of this attribute is <code>null</code>.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: orientation