Skip to content

Commit 0611e70

Browse files
committed
Tutorial Done
1 parent 1433558 commit 0611e70

File tree

1 file changed

+4
-35
lines changed

1 file changed

+4
-35
lines changed

src/app/components/Buttons/Tutorial.tsx

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
184184
},
185185
{
186186
title: 'Accessibility Tree',
187-
element: '.accessibility-tab',
188-
intro: '<ul><li>This tab visually displays a Accessibility Tree</li></ul>',
187+
element: '.accessibility-tab',//'<ul><li>This tab visually displays a Accessibility Tree</li></ul>'
188+
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>',
189189
position: 'bottom',
190190
},
191191
{
@@ -207,7 +207,7 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
207207
},
208208
];
209209
break;
210-
case 'AxTree':
210+
case 'accessibility'://'AxTree'
211211
steps = [
212212
{
213213
title: 'Accessibility Tree',
@@ -226,37 +226,6 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
226226
intro: 'Additional info can be found be hovering over desired metrics',
227227
position: 'top',
228228
},
229-
// {
230-
// title: 'LCP',
231-
// element: document.querySelectorAll('.metric')[0],
232-
// intro:
233-
// '<strong>Largest Contentful Paint</strong><br/>The amount of time it takes for the largest image, video or text block within the viewport to be fully rendered and interactive.',
234-
// position: 'top',
235-
// },
236-
237-
// {
238-
// title: 'FID',
239-
// element: document.querySelectorAll('.metric')[1],
240-
// intro:
241-
// '<strong>First Input Delay</strong><br/>A measurement of load responsiveness, the time from the first user interaction (for example, a click) to the browser responding to that interaction.',
242-
// position: 'top',
243-
// },
244-
245-
// {
246-
// title: 'FCP',
247-
// element: document.querySelectorAll('.metric')[2],
248-
// intro:
249-
// '<strong>First Contentful Paint</strong><br/>The amount of time it takes to render the first DOM element of any variety',
250-
// position: 'top',
251-
// },
252-
253-
// {
254-
// title: 'TTFB',
255-
// element: document.querySelectorAll('.metric')[3],
256-
// intro:
257-
// "<strong>Time To First Byte</strong><br/>The amount of time it takes for a user's browser to receive the first byte of page content from the server.",
258-
// position: 'top',
259-
// },
260229
];
261230
break;
262231
case 'history':
@@ -270,7 +239,7 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
270239
},
271240
{
272241
title: 'Viewing History Snapshot',
273-
element: '.node active',//document.querySelectorAll('.snapshotNode')[0]
242+
element: '.display',//document.querySelectorAll('.snapshotNode')[0]
274243
intro:
275244
'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>',
276245
position: 'top',

0 commit comments

Comments
 (0)