ARIA Marquee

ARIA’s role=marquee is a live region that can be used to mark up an area like a stock ticker, or a game score ticker. It has a default aria-live property of “polite”.

At the time of writting, this role is not supported by AT.

Example 1:

Scrolling text

Code


function ARIA_Marquee() {
  var txt = document.createTextNode(" " + Math.random() + 
    " Text has been added to the marquee.");
  document.getElementById('myMarquee').appendChild(txt); 
}
<marquee id="myMarquee" role="marquee">Scrolling text</marquee>
<button onClick="ARIA_Marquee();">Add text to Marquee</button>

Works With

role=marque
Browser Screen Reader Results
IE 9 JAWS 12 No
FF 5 JAWS 12 No

Standards:

  • 1.3.1 Info and Relationships: Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text. (Level A)

Comments are closed.