Difference between revisions of "ARIA Group role"

From Level Access Web Labs
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
<html>
 
<html>
 +
<style type="text/css">
 +
  [role="group"] {
 +
    border: thin solid black;
 +
    width: 50%;
 +
    margin-bottom: 1em;
 +
  }
 +
</style>
 +
 
<div role="group" aria-labelledby="s1" aria-label="Platform ARIA label">  
 
<div role="group" aria-labelledby="s1" aria-label="Platform ARIA label">  
 
   <span tabindex="-1" id="s1">Platform:</span>
 
   <span tabindex="-1" id="s1">Platform:</span>
Line 45: Line 53:
 
</fieldset>
 
</fieldset>
  
 +
<div role="group">
 +
  group without accessible name
 +
  <input type="text" title="Email" />
 +
</div>
 
</html>
 
</html>
  
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Latest revision as of 15:54, 28 November 2016

ARIA role group example with input type radio.

Platform:
Billing Address:




Fieldset and Legend tag with H2 inside legend

Was this content helpful?




Fieldset and Legend tag with H2 wrapping the legend

Was this content helpful?




Regular Fieldset and Legend tag (no heading)

Was this content helpful?
group without accessible name