Skip to content

Update a11y.js updates#178

Merged
tunetheweb merged 3 commits intoHTTPArchive:mainfrom
mgifford:patch-3
Apr 2, 2026
Merged

Update a11y.js updates#178
tunetheweb merged 3 commits intoHTTPArchive:mainfrom
mgifford:patch-3

Conversation

@mgifford
Copy link
Copy Markdown
Contributor

The A11y community suggested a few other commonly used classes.

Just adding to the list of known classes.

The A11y community suggested a few other commonly used classes.
Comment thread dist/a11y.js Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

https://almanac.httparchive.org/en/2022/

WPT result details

Changed custom metrics values:

{
  "_a11y": {
    "tables": {
      "total": 0,
      "total_with_caption": 0,
      "total_with_presentational": 0,
      "total_with_figcaption": 0
    },
    "file_extension_alts": {
      "total_elements_with_alt": 5,
      "total_elements_with_non_empty_alt": 0,
      "total_with_file_extension": 0,
      "file_extensions": {}
    },
    "title_and_alt": {
      "total_alt": 5,
      "total_title": 5,
      "total_both": 0,
      "total_alt_same_as_title": 0
    },
    "th_with_scope_attribute": {
      "total_th": 0,
      "total_with_scope": 0,
      "scopes": {}
    },
    "td_with_headers_attribute": {
      "total_tds": 0,
      "total_with_headers": 0
    },
    "total_anchors_with_role_button": 0,
    "total_role_tab_with_selected_and_controls": 0,
    "placeholder_but_no_label": {
      "total_placeholder": 4,
      "total_no_label": 0
    },
    "divs_or_spans_as_button_or_link": {
      "total_role_button": 0,
      "total_role_link": 0,
      "total_either": 0
    },
    "screen_reader_classes": false,
    "form_control_a11y_tree": {
      "__error": {
        "stack": "TypeError: Cannot read properties of undefined (reading 'value')\n    at addControlToStats (<anonymous>:202:28)\n    at <anonymous>:246:1\n    at captureAndLogError (<anonymous>:30:8)\n    at wptCustomMetric (<anonymous>:195:25)\n    at <anonymous>:318:7",
        "message": "Cannot read properties of undefined (reading 'value')"
      }
    },
    "fieldset_radio_checkbox": {
      "total_radio": 0,
      "total_checkbox": 0,
      "total_radio_in_fieldset": 0,
      "total_checkbox_in_fieldset": 0,
      "fieldsets": []
    },
    "required_form_controls": []
  }
}

@tunetheweb tunetheweb merged commit 3b3bec4 into HTTPArchive:main Apr 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants