Skip to content

Commit d5c667c

Browse files
authored
Merge pull request #34 from oslabs-beta/daniel
Tutorial Done
2 parents dc55f43 + 00f947d commit d5c667c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/components/Buttons/Tutorial.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
185185
},
186186
{
187187
title: 'Accessibility Tree',
188-
element: '.accessibility-tab',
189-
intro: '<ul><li>This tab visually displays a Accessibility Tree</li></ul>',
188+
element: '.accessibility-tab',//'<ul><li>This tab visually displays a Accessibility Tree</li></ul>'
189+
intro:'<ul><li>Nodes from the accessibility tree have either a role or a internal role refers to ARIA roles, which indicate the purpose of the element to assistive technologies, like screen readers.All of the nodes rendered in this tree have a role of Role.InternalRole refers to browser-specific roles <strong> Chrome </strong> for its own accessibility processing.<p> Each node is given a property labeled <strong>ignored</strong>. Nodes read by the screen reader have their ignored property evaluate to <strong>false</strong>.Nodes not read by the screen reader evaluate to <strong>true</strong>.</p><p> Nodes labeled as <strong>no name</strong> are visible to a screen reader, but were not given a name label.</p></li></ul>',
190190
position: 'bottom',
191191
},
192192
{
@@ -208,7 +208,7 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
208208
},
209209
];
210210
break;
211-
case 'AxTree':
211+
case 'accessibility'://'AxTree'
212212
steps = [
213213
{
214214
title: 'Accessibility Tree',
@@ -240,7 +240,7 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
240240
},
241241
{
242242
title: 'Viewing History Snapshot',
243-
element: '.node active', //document.querySelectorAll('.snapshotNode')[0]
243+
element: '.display',//document.querySelectorAll('.snapshotNode')[0]
244244
intro:
245245
'Each node will represent a snapshot in the page. <ul><li>A single snapshot will show as a node while multiple snapshots will be represented as a timeline.</li><li>Highlighting over one will show any state changes compared to the previous snapshot. </li><li>Clicking a node will set the snapshot as the current one.</li></ul>',
246246
position: 'top',

0 commit comments

Comments
 (0)