You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
intro: 'This section will show 4 webmetrics for your page when it loads.',
204
-
position: 'top',
205
-
},
206
-
{
207
-
title: 'LCP',
208
-
element: document.querySelectorAll('.metric')[0],
213
+
title: 'Accessibility Tree',
214
+
element: '.display',
209
215
intro:
210
-
'<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.',
216
+
'<ul><li>Nodes from the accessibility tree have either a role <strong>role</strong> or <strong>internalRole</strong><i><b>Role</b></i> 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.<i><b>internalRole</b></i> 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>',
211
217
position: 'top',
212
218
},
213
-
219
+
];
220
+
break;
221
+
case'webmetrics':
222
+
steps=[
214
223
{
215
-
title: 'FID',
216
-
element: document.querySelectorAll('.metric')[1],
217
-
intro:
218
-
'<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.',
224
+
title: 'Webmetrics Tab',
225
+
element: '.web-metrics-container',
226
+
intro: 'Additional info can be found be hovering over desired metrics',
// '<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
+
// },
221
236
222
-
{
223
-
title: 'FCP',
224
-
element: document.querySelectorAll('.metric')[2],
225
-
intro:
226
-
'<strong>First Contentful Paint</strong><br/>The amount of time it takes to render the first DOM element of any variety',
//'<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
+
// },
229
244
230
-
{
231
-
title: 'TTFB',
232
-
element: document.querySelectorAll('.metric')[3],
233
-
intro:
234
-
"<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.",
// "<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.",
'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>',
This container renders the time-travel play button, seek bar, playback controls, and the playback speed dropdown, located towards the bottom of the application, above the locked, download, upload, and tutorial buttons
@@ -87,27 +85,8 @@ function TravelContainer(props: TravelContainerProps): JSX.Element {
0 commit comments