1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30

content / test / data / accessibility / html / section.html [blame]

<!--
@MAC-ALLOW:AXRoleDescription
@UIA-WIN-ALLOW:ControlType='UIA_GroupControlTypeId'
@UIA-WIN-ALLOW:LocalizedControlType='section'
@WIN-ALLOW:localized_extended_role='section'
@WIN-ALLOW:xml-roles:*
@AURALINUX-ALLOW:xml-roles:*
-->
<!DOCTYPE html>
<html>
<body>

<section>
  An unnamed section element gets the generic role.
</section>

<section aria-label='name'>
  Named section element #1 gets the region role
</section>

<section aria-labelledby='section1'>
  <span id="section1">Named section element #2 gets the region role</span>
</section>

<section title='name'>
  Named section element #3 gets the region role
</section>

</body>
</html>