Files
firefox/devtools/server/tests/browser/doc_accessibility.html
James Teh 5081580270 Bug 1863480: Expose all relations via xpcAccessible::GetRelations. r=morgan,devtools-reviewers,nchevobbe
Previously, only an outdated hard-coded subset was being exposed.
This meant that missing relations such as details and error message were not exposed in the DevTools Accessibility Inspector.
We now expose all relations in the RelationType enum so we don't need to keep this up to date.

Differential Revision: https://phabricator.services.mozilla.com/D193008
2023-11-09 05:19:01 +00:00

20 lines
557 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<h1 id="h1">Accessibility Test</h1>
<button id="button" aria-describedby="h1" accesskey="b">Accessible Button</button>
<div id="slider" role="slider" aria-valuenow="5"
aria-valuemin="0" aria-valuemax="7">slider</div>
<label id="label" for="control">Label
<input id="control" aria-details="details">
</label>
<div id="details">details</div>
<header id="header">header</header>
<nav id="nav">nav</nav>
<footer id="footer">footer</footer>
</body>
</html>