Skip to content

Commit

Permalink
Update samples.
Browse files Browse the repository at this point in the history
  • Loading branch information
robdodson committed May 3, 2019
1 parent d10e1e4 commit 5feac63
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
64 changes: 32 additions & 32 deletions lighthouse-cli/test/cli/__snapshots__/index-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -387,42 +387,42 @@ Object {
Object {
"group": "a11y-aria",
"id": "aria-allowed-attr",
"weight": 3,
"weight": 10,
},
Object {
"group": "a11y-aria",
"id": "aria-required-attr",
"weight": 2,
"weight": 10,
},
Object {
"group": "a11y-aria",
"id": "aria-required-children",
"weight": 5,
"weight": 10,
},
Object {
"group": "a11y-aria",
"id": "aria-required-parent",
"weight": 2,
"weight": 10,
},
Object {
"group": "a11y-aria",
"id": "aria-roles",
"weight": 3,
"weight": 10,
},
Object {
"group": "a11y-aria",
"id": "aria-valid-attr-value",
"weight": 2,
"weight": 10,
},
Object {
"group": "a11y-aria",
"id": "aria-valid-attr",
"weight": 5,
"weight": 10,
},
Object {
"group": "a11y-audio-video",
"id": "audio-caption",
"weight": 4,
"weight": 10,
},
Object {
"group": "a11y-names-labels",
Expand All @@ -432,57 +432,57 @@ Object {
Object {
"group": "a11y-navigation",
"id": "bypass",
"weight": 10,
"weight": 3,
},
Object {
"group": "a11y-color-contrast",
"id": "color-contrast",
"weight": 6,
"weight": 3,
},
Object {
"group": "a11y-tables-lists",
"id": "definition-list",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-tables-lists",
"id": "dlitem",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-names-labels",
"id": "document-title",
"weight": 2,
"weight": 3,
},
Object {
"group": "a11y-best-practices",
"id": "duplicate-id",
"weight": 5,
"weight": 1,
},
Object {
"group": "a11y-names-labels",
"id": "frame-title",
"weight": 5,
"weight": 3,
},
Object {
"group": "a11y-language",
"id": "html-has-lang",
"weight": 4,
"weight": 3,
},
Object {
"group": "a11y-language",
"id": "html-lang-valid",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-names-labels",
"id": "image-alt",
"weight": 8,
"weight": 10,
},
Object {
"group": "a11y-names-labels",
"id": "input-image-alt",
"weight": 1,
"weight": 10,
},
Object {
"group": "a11y-names-labels",
Expand All @@ -492,67 +492,67 @@ Object {
Object {
"group": "a11y-tables-lists",
"id": "layout-table",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-names-labels",
"id": "link-name",
"weight": 9,
"weight": 3,
},
Object {
"group": "a11y-tables-lists",
"id": "list",
"weight": 5,
"weight": 3,
},
Object {
"group": "a11y-tables-lists",
"id": "listitem",
"weight": 4,
"weight": 3,
},
Object {
"group": "a11y-best-practices",
"id": "meta-refresh",
"weight": 1,
"weight": 10,
},
Object {
"group": "a11y-best-practices",
"id": "meta-viewport",
"weight": 3,
"weight": 10,
},
Object {
"group": "a11y-names-labels",
"id": "object-alt",
"weight": 4,
"weight": 3,
},
Object {
"group": "a11y-navigation",
"id": "tabindex",
"weight": 4,
"weight": 3,
},
Object {
"group": "a11y-tables-lists",
"id": "td-headers-attr",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-tables-lists",
"id": "th-has-data-cells",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-language",
"id": "valid-lang",
"weight": 1,
"weight": 3,
},
Object {
"group": "a11y-audio-video",
"id": "video-caption",
"weight": 4,
"weight": 10,
},
Object {
"group": "a11y-audio-video",
"id": "video-description",
"weight": 3,
"weight": 10,
},
Object {
"id": "logical-tab-order",
Expand Down
20 changes: 10 additions & 10 deletions lighthouse-core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3298,12 +3298,12 @@
},
{
"id": "bypass",
"weight": 10,
"weight": 3,
"group": "a11y-navigation"
},
{
"id": "color-contrast",
"weight": 6,
"weight": 3,
"group": "a11y-color-contrast"
},
{
Expand All @@ -3318,12 +3318,12 @@
},
{
"id": "document-title",
"weight": 2,
"weight": 3,
"group": "a11y-names-labels"
},
{
"id": "duplicate-id",
"weight": 5,
"weight": 1,
"group": "a11y-best-practices"
},
{
Expand All @@ -3333,7 +3333,7 @@
},
{
"id": "html-has-lang",
"weight": 4,
"weight": 3,
"group": "a11y-language"
},
{
Expand All @@ -3343,7 +3343,7 @@
},
{
"id": "image-alt",
"weight": 8,
"weight": 10,
"group": "a11y-names-labels"
},
{
Expand All @@ -3363,7 +3363,7 @@
},
{
"id": "link-name",
"weight": 9,
"weight": 3,
"group": "a11y-names-labels"
},
{
Expand All @@ -3383,12 +3383,12 @@
},
{
"id": "meta-viewport",
"weight": 3,
"weight": 10,
"group": "a11y-best-practices"
},
{
"id": "object-alt",
"weight": 4,
"weight": 3,
"group": "a11y-names-labels"
},
{
Expand Down Expand Up @@ -3467,7 +3467,7 @@
}
],
"id": "accessibility",
"score": 0.36
"score": 0.38
},
"best-practices": {
"title": "Best Practices",
Expand Down
20 changes: 10 additions & 10 deletions proto/sample_v2_round_trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -3050,12 +3050,12 @@
{
"group": "a11y-navigation",
"id": "bypass",
"weight": 10.0
"weight": 3.0
},
{
"group": "a11y-color-contrast",
"id": "color-contrast",
"weight": 6.0
"weight": 3.0
},
{
"group": "a11y-tables-lists",
Expand All @@ -3070,12 +3070,12 @@
{
"group": "a11y-names-labels",
"id": "document-title",
"weight": 2.0
"weight": 3.0
},
{
"group": "a11y-best-practices",
"id": "duplicate-id",
"weight": 5.0
"weight": 1.0
},
{
"group": "a11y-names-labels",
Expand All @@ -3085,7 +3085,7 @@
{
"group": "a11y-language",
"id": "html-has-lang",
"weight": 4.0
"weight": 3.0
},
{
"group": "a11y-language",
Expand All @@ -3095,7 +3095,7 @@
{
"group": "a11y-names-labels",
"id": "image-alt",
"weight": 8.0
"weight": 10.0
},
{
"group": "a11y-names-labels",
Expand All @@ -3115,7 +3115,7 @@
{
"group": "a11y-names-labels",
"id": "link-name",
"weight": 9.0
"weight": 3.0
},
{
"group": "a11y-tables-lists",
Expand All @@ -3135,12 +3135,12 @@
{
"group": "a11y-best-practices",
"id": "meta-viewport",
"weight": 3.0
"weight": 10.0
},
{
"group": "a11y-names-labels",
"id": "object-alt",
"weight": 4.0
"weight": 3.0
},
{
"group": "a11y-navigation",
Expand Down Expand Up @@ -3220,7 +3220,7 @@
"description": "These checks highlight opportunities to [improve the accessibility of your web app](https://developers.google.com/web/fundamentals/accessibility). Only a subset of accessibility issues can be automatically detected so manual testing is also encouraged.",
"id": "accessibility",
"manualDescription": "These items address areas which an automated testing tool cannot cover. Learn more in our guide on [conducting an accessibility review](https://developers.google.com/web/fundamentals/accessibility/how-to-review).",
"score": 0.36,
"score": 0.38,
"title": "Accessibility"
},
"best-practices": {
Expand Down

0 comments on commit 5feac63

Please sign in to comment.