Commit 5bdb523
Accessibility 2024: Queries (#3749)
* Create a11y_overall_tech_usage_by_domain_rank.sql
This code was developed by Barry Pollard while he was showing me the ropes.
* Update a11y_overall_tech_usage_by_domain_rank.sql
Attempting to fix lint errors
* Create a11y_technology_usage.sql
This seems to work.
* Create a11y_technology_usage_by_domain_rank.sql
Seems to work....
* Update a11y_technology_usage.sql
Remove white space
* Create alt_ending_in_image_extension.sql
Seems to work....
* Create anchors_with_role_button.sql
Looks good against rank 1000
* Create audio_track_usage.sql
Produces results....
* Create button_name_sources.sql
Data looks good
* Create captcha_usage.sql
Working...
* Create color_contrast.sql
I'm guessing that the JSON_VALUE is the same as JSON_EXTRACT_SCALAR
* Create common_alt_text_length.sql
Seems to work..
* Create common_aria_role.sql
* Create common_element_attributes.sql
Looks good..
* Create form_input_name_sources.sql
Seems to work.
* Create form_required_controls.sql
Seems to work.
* Update a11y_overall_tech_usage_by_domain_rank.sql
Incorrect spacing.
* Update alt_ending_in_image_extension.sql
Spacing...
* Update button_name_sources.sql
Spacing.
* Create landmark_elements_and_roles.sql
Seems to work
* Create page_title.sql
Seems to work
* Create pages_with_search_input.sql
working...
* Create placeholder_but_no_label.sql
Working
* Create sites_using_role.sql
updated....
* Create skip_links.sql
updated..
* Create sr_only_classes.sql
I think this probably could be extended to include other screen reader classes which are common.
* Create tabindex_usage_and_values.sql
Updated.
* Create table_stats.sql
Updated
* Create valid_html_lang.sql
working...
* Create video_track_usage.sql
* Create viewport_zoom_scale.sql
working..
* Create viewport_zoom_scale_by_domain_rank.sql
done
* Update sql/2024/accessibility/a11y_technology_usage_by_domain_rank.sql
Thanks!
Co-authored-by: Barry Pollard <barrypollard@google.com>
* Update sql/2024/accessibility/alt_ending_in_image_extension.sql
Thanks.
Co-authored-by: Barry Pollard <barrypollard@google.com>
* Update viewport_zoom_scale_by_domain_rank.sql
removing white space
* Create lighthouse_a11y_audits.sql
Thanks to @tunetheweb in Slack. Modified to make it not for testing purposes.
* Create lighthouse_a11y_score.sql
I think this works...
* Update video_track_usage.sql
Fixing spacing
* Update a11y_overall_tech_usage_by_domain_rank.sql
Including is_root_page in query.
* Update a11y_technology_usage.sql
adding is_root_page
* Update a11y_technology_usage_by_domain_rank.sql
* Update alt_ending_in_image_extension.sql
adding is_root_page
* Update anchors_with_role_button.sql
* Update audio_track_usage.sql
is_root_page
* Update button_name_sources.sql
is_root_page,
* Update captcha_usage.sql
is_root_page
* Update color_contrast.sql
is_root_page
* Update common_alt_text_length.sql
is_root_page
* Update common_aria_role.sql
is_root_page
* Update common_element_attributes.sql
is_root_page
* Update form_input_name_sources.sql
is_root_page
* Update form_required_controls.sql
is_root_page
* Update landmark_elements_and_roles.sql
is_root_page
* Update lighthouse_a11y_score.sql
is_root_page
* Update page_title.sql
is_root_page
* Update pages_with_search_input.sql
is_root_page
* Update placeholder_but_no_label.sql
is_root_page
* Update sites_using_role.sql
is_root_page
* Update skip_links.sql
is_root_page
* Update sr_only_classes.sql
is_root_page
* Update tabindex_usage_and_values.sql
is_root_page
* Update table_stats.sql
is_root_page
* Update valid_html_lang.sql
is_root_page
* Update video_track_usage.sql
is_root_page
* Update viewport_zoom_scale.sql
is_root_page
* Update viewport_zoom_scale_by_domain_rank.sql
is_root_page
* Update viewport_zoom_scale.sql
removing spaces
* Update valid_html_lang.sql
removing spaces
* Update placeholder_but_no_label.sql
Spaces
* Update lighthouse_a11y_score.sql
spaces
* Update a11y_technology_usage.sql
spaces
* Create a11y_frontend_technology.sql
* Create focus_outline_0.sql
This seems to work.
* Update a11y_frontend_technology.sql
white spaces
* Update a11y_frontend_technology.sql
Linting
* Create focus_visible.sql
Adding focus visible check
* Update focus_visible.sql
Updating the year.
* Update focus_visible.sql
this seems to work better.
* Update focus_visible.sql
Fixing linting
* Create media_query_features.sql
Seems to be working.
* Create units_properties.sql
Seems to be working
* Create lighthouse_per_cms.sql
* Rename lighthouse_per_cms.sql to lighthouse_score_by_cms.sql
title change
* Update lighthouse_score_by_cms.sql
Adding back in best practices.
* Update lighthouse_score_by_cms.sql
* Update lighthouse_score_by_cms.sql
removing rounding and commented out code
* Update lighthouse_score_by_cms.sql
removing round and fixing best-practices
* Create lighthouse_score_by_government.sql
Adding country specific scans.
* Rename lighthouse_score_by_country.sql to lighthouse_score_by_government.sql
for consistency
* Update lighthouse_score_by_government.sql
Adding more governments.
* Update lighthouse_score_by_government.sql
Adding US States
* Create lighthouse_by_frontend_framework.sql
* Rename lighthouse_by_frontend_framework.sql to lighthouse_score_by_frontend.sql
title update
* Update lighthouse_score_by_government.sql
white space
* Update lighthouse_score_by_frontend.sql
white space & linting
* Update lighthouse_score_by_cms.sql
white space
* Update focus_outline_0.sql
expanding the returned results
* Update lighthouse_score_by_frontend.sql
linting
* Update lighthouse_score_by_government.sql
Linting
* Update lighthouse_score_by_government.sql
Linting
* Update landmark_elements_and_roles.sql
Updated query
* Update landmark_elements_and_roles.sql
linting - white space
* Update lighthouse_score_by_government.sql
Trying to standardize count to address linting issue.
* Update common_aria_role.sql
Update to make sure we're getting percentages.
* Update common_element_attributes.sql
updating for percentages
* Update a11y_technology_usage_by_domain_rank.sql
Query that is producing better results.
* Update a11y_technology_usage_by_domain_rank.sql
Linting
* Update landmark_elements_and_roles.sql
Fixed query - Thanks to @tunetheweb
* Update a11y_technology_usage_by_domain_rank.sql
spaces
* Create lighthouse_score_by_country.sql
Adding country references
* Create lighthouse_score_by_tld.sql
Adding query by TLD
* Update lighthouse_score_by_government.sql
Making query case insensitive
* Update lighthouse_score_by_government.sql
Adding Mass.gov
* Update lighthouse_a11y_score.sql
The value was still rounded so lost valuable info
* Update lighthouse_a11y_score.sql
Avoiding approximate values for the return.
* Update lighthouse_score_by_tld.sql
Linting
* Update lighthouse_a11y_score.sql
Linting
* Create lighthouse_a11y_audits_by_cms.sql
Query to highlight the types of errors produced by popular CMS.
* Update lighthouse_a11y_score.sql
Linting
* Update a11y_technology_usage_by_domain_rank.sql
Linting
* Update sql/2024/accessibility/lighthouse_score_by_government.sql
Double quotes...
Co-authored-by: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com>
* Update viewport_zoom_scale_by_domain_rank.sql
Updating SQL to get rank right.
* Update lighthouse_score_by_government.sql
Some simple name changes.
* Update lighthouse_score_by_government.sql
Including secondary pages.
* Create lighthouse_a11y_by_government_with_urls.sql
Adding new SQL to check results of query
* Update and rename lighthouse_a11y_by_government_with_urls.sql to lighthouse_a11y_score_by_government_with_urls.sql
Finding the missing countries...
* Rename lighthouse_a11y_score_by_government_with_urls.sql to lighthouse_score_by_government_with_urls.sql
renaming
* Update lighthouse_score_by_government.sql
UPdating query
* Update lighthouse_score_by_government.sql
Reducing errors like https://www.stats.gov.nl.ca/ landing in the Netherlands rather than Canada.
* Update lighthouse_score_by_government.sql
Correcting Belgium's domains
* Update lighthouse_score_by_government.sql
Updating finland.
* Update lighthouse_score_by_government.sql
Adding lithuania
* Update lighthouse_score_by_government.sql
Updating the netherlands
* Update lighthouse_score_by_government.sql
Adding Swedish domains.
* Update lighthouse_score_by_government.sql
Updating where statement.
* Update lighthouse_score_by_government.sql
Adding more UN organizations.
* Update lighthouse_score_by_government.sql
Optimized WHERE clause.
* Update lighthouse_score_by_government.sql
Updating where
* Update lighthouse_score_by_government.sql
Update to where.
* Update lighthouse_score_by_government.sql
More flexible query.
* Update lighthouse_score_by_government.sql
Spacing for linting
* Update lighthouse_score_by_government_with_urls.sql
Standardizing government queries.
* Update viewport_zoom_scale_by_domain_rank.sql
Linting problem
* Update lighthouse_score_by_government_with_urls.sql
Checking linter..
* Update lighthouse_score_by_government.sql
Correcting parse error
* Update viewport_zoom_scale_by_domain_rank.sql
linting
* Update viewport_zoom_scale_by_domain_rank.sql
Linting
* Update lighthouse_score_by_government.sql
More consistency
* Update lighthouse_score_by_government_with_urls.sql
Consistency in domains...
* Update lighthouse_score_by_government_with_urls.sql
adding more countries
* Update lighthouse_score_by_government.sql
Adding other countries
* Update lighthouse_score_by_government_with_urls.sql
Trying to further maximize the number of government domains returned and sorted.
* Update lighthouse_score_by_government_with_urls.sql
Linting
* Update lighthouse_score_by_government.sql
Updating URL to keep up with maximizing URLs.
* Update lighthouse_score_by_government_with_urls.sql
Updating list of government sites.
* Update lighthouse_score_by_government.sql
Updating lists of government sites.
* Update lighthouse_score_by_government_with_urls.sql
More Finish governments
* Update lighthouse_score_by_government_with_urls.sql
More finland domains.
* Update lighthouse_score_by_government_with_urls.sql
adding more European country exceptions.
* Update lighthouse_score_by_government_with_urls.sql
Updating country listings.
* Update lighthouse_score_by_government_with_urls.sql
Updates for Canadian provinces
* Update lighthouse_score_by_government_with_urls.sql
Improvements in the categorization.
* Update lighthouse_score_by_government_with_urls.sql
Adding Luxemburg domain
* Update lighthouse_score_by_government_with_urls.sql
Adding Andorra
* Update lighthouse_score_by_government_with_urls.sql
Linting issues
* Update lighthouse_score_by_government.sql
Updating domains for consistency
* Update lighthouse_score_by_government.sql
Including unique identifier for the URL/test
* Update lighthouse_score_by_government.sql
Not useful in an average
* Update lighthouse_score_by_government_with_urls.sql
Adding wptid
Including correlations for all of the world's countries.
* Update lighthouse_score_by_government_with_urls.sql
Making the query more consistent
* Update lighthouse_score_by_government_with_urls.sql
removing duplicates
* Update lighthouse_score_by_government_with_urls.sql
Cleaner URLs
* Update lighthouse_score_by_government_with_urls.sql
Updated countries....
* Update lighthouse_score_by_government_with_urls.sql
Finally with the "Other" not showing up for all of the domains.... REGEX problems...
* Update lighthouse_score_by_government.sql
Updates to improve country coverage
* Update lighthouse_score_by_government.sql
Adding Norway and Greenland
* Update lighthouse_score_by_government_with_urls.sql
Adding Norway and Greenland
* Update lighthouse_score_by_government_with_urls.sql
Adding Iran and note about https://state.mn.us/ coverage too.
* Update lighthouse_score_by_government_with_urls.sql
Linting issues
* Update lighthouse_score_by_government.sql
Linting
* Update lighthouse_score_by_government.sql
Linting
* Update lighthouse_score_by_government_with_urls.sql
Linting
* Update lighthouse_score_by_government_with_urls.sql
Linting...
* Update lighthouse_score_by_government_with_urls.sql
spacing (hopefully the last)
* Update lighthouse_score_by_government.sql
Final space hopefully
* Update button_name_sources.sql
Removing is_root_page so that it is easier to calculate the a comparable value.
* Update alt_ending_in_image_extension.sql
Thanks to @tunetheweb for this.
* Update common_alt_text_length.sql
---------
Co-authored-by: Barry Pollard <barrypollard@google.com>
Co-authored-by: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com>1 parent 89f8801 commit 5bdb523
41 files changed
Lines changed: 3269 additions & 0 deletions
File tree
- sql/2024/accessibility
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 71 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments