@qualweb/best-practices 0.6.13 → 0.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +13 -18
package/README.md
CHANGED
|
@@ -27,6 +27,16 @@ Implementation of accessibility best practices for web pages.
|
|
|
27
27
|
| QW-BP15 | CSS | At least one width attribute of an HTML element is expressed in absolute values |
|
|
28
28
|
| QW-BP17 | HTML | Adding a link at the beginning of a block of repeated content to go to the end of the block |
|
|
29
29
|
| QW-BP18 | CSS | Using percentage values in CSS for container sizes |
|
|
30
|
+
| QW-BP19 | HTML | Landmark banner is top level |
|
|
31
|
+
| QW-BP20 | HTML | Landmark no duplicate banner |
|
|
32
|
+
| QW-BP21 | HTML | Landmark no duplicate contentinfo |
|
|
33
|
+
| QW-BP22 | HTML | Landmark has one main |
|
|
34
|
+
| QW-BP23 | HTML | Listitems are used semantically |
|
|
35
|
+
| QW-BP24 | HTML | Lists are used correctly |
|
|
36
|
+
| QW-BP25 | HTML | Landmark complementary is top level |
|
|
37
|
+
| QW-BP26 | HTML | Landmark contentinfo is top level |
|
|
38
|
+
| QW-BP27 | HTML | Landmark main is top level |
|
|
39
|
+
| QW-BP28 | HTML | H1 element is used and unique |
|
|
30
40
|
|
|
31
41
|
# License
|
|
32
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualweb/best-practices",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.14",
|
|
4
4
|
"description": "QualWeb best practices",
|
|
5
5
|
"main": "dist/bp.bundle.js",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test:bp28": "mocha test/best-practices/QW-BP28.spec.mjs",
|
|
35
35
|
"lint": "eslint src --ext .ts",
|
|
36
36
|
"lint:fix": "eslint src --ext .ts --fix",
|
|
37
|
-
"format": "prettier
|
|
37
|
+
"format": "prettier src/**/*.ts --write",
|
|
38
38
|
"compile:bps": "node compile-bps.js",
|
|
39
39
|
"prebuild": "rimraf prebuild && npm run compile:bps && rimraf dist",
|
|
40
40
|
"build": "tsc --build && webpack --mode production",
|
|
@@ -59,26 +59,21 @@
|
|
|
59
59
|
"author": "João Vicente",
|
|
60
60
|
"license": "ISC",
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@qualweb/dom": "0.2.
|
|
63
|
-
"@qualweb/locale": "0.1.
|
|
64
|
-
"@qualweb/qw-page": "0.2.
|
|
65
|
-
"@qualweb/types": "0.7.
|
|
66
|
-
"@qualweb/util": "0.5.
|
|
62
|
+
"@qualweb/dom": "0.2.9",
|
|
63
|
+
"@qualweb/locale": "0.1.16",
|
|
64
|
+
"@qualweb/qw-page": "0.2.17",
|
|
65
|
+
"@qualweb/types": "0.7.25",
|
|
66
|
+
"@qualweb/util": "0.5.32",
|
|
67
67
|
"@tsconfig/recommended": "^1.0.3",
|
|
68
68
|
"@types/node": "^16.11.12",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
75
|
-
"eslint-plugin-sonarjs": "^0.23.0",
|
|
76
|
-
"mocha": "^9.1.3",
|
|
77
|
-
"prettier": "^3.1.0",
|
|
78
|
-
"puppeteer": "^21.5.2",
|
|
69
|
+
"chai": "^5.0.0",
|
|
70
|
+
"eslint": "^8.56.0",
|
|
71
|
+
"mocha": "^10.2.0",
|
|
72
|
+
"prettier": "^3.1.1",
|
|
73
|
+
"puppeteer": "^21.6.1",
|
|
79
74
|
"rimraf": "^5.0.5",
|
|
80
75
|
"typescript": "^4.5.3",
|
|
81
|
-
"webpack": "^5.
|
|
76
|
+
"webpack": "^5.89.0",
|
|
82
77
|
"webpack-cli": "^4.9.1"
|
|
83
78
|
}
|
|
84
79
|
}
|