PROJET AUTOBLOG


Shaarli - Les discussions de Shaarli

Archivé

Site original : Shaarli - Les discussions de Shaarli du 23/07/2013

⇐ retour index

XHTML Role Attribute Module

dimanche 7 septembre 2014 à 17:10
Tom, le 07/09/2014 à 17:10
Tous les roles aria des balises html. Pour info, ça permet aux personnes équipées de lecteurs d'écran de comprendre le rôle de chaque morceau des pages web. C'est rapide à faire, et ça aide bien, alors pensez-y à l'occasion :)

Ici les différents rôles :

banner
   A banner is usually defined as the advertisement at the top of a web page. The banner content typically contains the site or company logo and other key advertisements for the site.
contentinfo
   This is information about the content on the page. For example, footnotes, copyrights, links to privacy statements, etc. would belong here.
definition
   The contents of the associated element represent a definition (e.g., of a term or concept). If there is a dfn element within the contents (as defined in [XHTMLMOD]), then that represents the term being defined.
main
   This defines the main content of a document.
navigation
   This is a collection of links suitable for use when navigating the document or related documents.
note
   The content is parenthetic or ancillary to the main content of the resource.
search
   This is the search section of a web document. This is typically a form used to submit search requests about the site or a more general Internet wide search service.
secondary
   This is any unique section of the document. In the case of a portal, this may include but not be limited to: show times; current weather; or stocks to watch.
seealso
   Indicates that the element contains content that is related to the main content of the page.
(Permalink)

phyks > Tom, le 07/09/2014 à 23:12
Role aria des balises HTML.
(Permalink)