givepulse / knowbilitywarriors

Web Accessibility Website work for Accessible Housing Austin
0 stars 1 forks source link

All content must reside within a WAI-ARIA landmark or labelled region role. #37

Closed mehdia closed 10 years ago

mehdia commented 10 years ago

Page: Home

On element: /html/body/ul /html/body/form/input /html/body/blockquote/p /html/body/address/p

Solution: All content must reside within a WAI-ARIA landmark or labelled region role to facilitate page navigation by screen reader users.

Example 1: a WAI-ARIA main role is specified on the element containing the main content of a Web page.

         <div role="main">
            Main content of Web page...
         </div>

Example 2: a WAI-ARIA navigation role is specified on the element containing the left navigation area of a Web page.

         <div role="navigation">
            Left navigation area links...
         </div>

Example 3: a WAI-ARIA search role is specified on the element containing the search area of a Web page.

     <div role="search">
            Search area of Web page...
     </div>

Example 4: a page author has determined that none of the standard WAI-ARIA landmarks are appropriate for a specific area of page content. Therefore, the author places a WAI-ARIA region role on the element containing the content and labels the region with an aria-label property.

     <div role="region" aria-label="Realtime message log">
            None of the standard WAI-ARIA landmarks are appropriate for the content in this area, so marking it with a region role...
     </div>
slauriat commented 10 years ago

Duplicate of another bug?

mehdia commented 10 years ago

Yes it is ,just with more clarity and suggested fix etc.

mehdia commented 10 years ago

closing this duplicate