Skip to content

Commit f5c3f2b

Browse files
committed
created axLegend component, updated information being rendered
1 parent 09260eb commit f5c3f2b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/app/components/StateRoute/AxMap/axLegend.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@ import React from 'react';
33
const AxLegend = () => {
44
return (
55
<div>
6-
testing
6+
Nodes from the accessibility tree have either a role <strong>role</strong> or <strong>internalRole</strong>
7+
<ul>
8+
<li>
9+
Role refers to <strong> ARIA </strong> roles, which indicate the purpose of the element to assistive technologies, like screen readers
10+
</li>
11+
<li>
12+
internalRole refers to browser-specific roles <strong> Chrome </strong> for its accessibility processing
13+
</li>
14+
</ul>
15+
16+
<div className='axLegendInfo' id='roleNodes'>
17+
<h4>All of the nodes here have the role 'role' </h4>
18+
</div>
719
</div>
820
);
921
}

0 commit comments

Comments
 (0)