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

content / test / data / accessibility / html / svg-child-of-svg.html [blame]

<!--
@AURALINUX-ALLOW:tag:*
@BLINK-ALLOW:htmlTag*
-->
<!--
  Test that nested <svg> elements use the group role.
  Note that this mapping is not yet in the SVG-AAM, but
  initial feedback suggests it is the correct thing to do.
  See https://github.com/w3c/svg-aam/issues/18.
-->
<svg aria-label="Has two simple children">
  <svg x="10">
    <rect x="10" y="10" height="50" width="50"/>
  </svg>
  <svg x="100">
    <rect x="10" y="10" height="50" width="50"/>
  </svg>
</svg>
<svg aria-label="Has two focusable children">
  <svg x="10" tabindex="0">
    <rect x="10" y="10" height="50" width="50"/>
  </svg>
  <svg x="100" tabindex="0">
    <rect x="10" y="10" height="50" width="50"/>
  </svg>
</svg>