1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20

content / test / data / accessibility / mac / description / aria-description-in-axcustomcontent.html [blame]

<!--
@SCRIPT:
  div.accessibilityCustomContent[0].label
  div.accessibilityCustomContent[0].value
  div.accessibilityAttributeValue(AXHelp)
  div_with_tooltip.accessibilityCustomContent[0].label
  div_with_tooltip.accessibilityCustomContent[0].value
  div_with_tooltip.accessibilityAttributeValue(AXHelp)
-->
<!--
Note, this test will only run when macOS is greater or equal to 11. The purpose of the test is to show that, beginning with macOS 11, AXHelp DOES NOT surface the aria-description string or the content of aria-describedby (instead, it can be found in AXCustomContent).
-->
<!DOCTYPE html>
<html>
<body>
  <div id="div" aria-label="description" aria-description="Text-description" ></div>
  <div id="div_with_tooltip" aria-label="both" aria-description="describedby overrides description" aria-describedby="desc1" ></div>
  <div role="tooltip" id="desc1">Description from describedby</div>
</body>
</html>