Skip to content

Commit

Permalink
Merge branch 'main' into sitespeed-browsertime-har-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit authored Dec 7, 2024
2 parents f325443 + 11c9f55 commit 8b24b1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webperf_core",
"version": "2024.12.3",
"version": "2024.12.4",
"description": "You probably want to read the documentation available at homepage.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
4 changes: 2 additions & 2 deletions tests/a11y_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,12 +736,12 @@ def rate_compatible_text(global_translation, local_translation, soup):
test = match.group('test').lower()
if 'inte' in test:
rating.set_overall(
5.0, local_translation('TEXT_REVIEW_COMPATIBLE_TEXT_OVERALL_NOT_COMPATIBLE'))
1.0, local_translation('TEXT_REVIEW_COMPATIBLE_TEXT_OVERALL_NOT_COMPATIBLE'))
rating.set_a11y(
1.0, local_translation('TEXT_REVIEW_COMPATIBLE_TEXT_A11Y_NOT_COMPATIBLE'))
elif 'delvis' in test:
rating.set_overall(
5.0, local_translation('TEXT_REVIEW_COMPATIBLE_TEXT_OVERALL_PARTLY_COMPATIBLE'))
3.0, local_translation('TEXT_REVIEW_COMPATIBLE_TEXT_OVERALL_PARTLY_COMPATIBLE'))
rating.set_a11y(
3.0, local_translation('TEXT_REVIEW_COMPATIBLE_TEXT_A11Y_PARTLY_COMPATIBLE'))
else:
Expand Down

0 comments on commit 8b24b1d

Please sign in to comment.