diff --git a/CHANGELOG.md b/CHANGELOG.md index 7913578..f9c295a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ # CHANGELOG +## Version 0.2.8 +* Added support for Vue-html [pull #27](https://github.com/mvdschee/web-accessibility/pull/27) by [Kemal Ahmed](https://github.com/goatandsheep) +* Added support for Vue linting +* Changed patterns to be less prone to false positives +* Updated readme + ## Version 0.2.7 * Correct spelling mistakes [pull #23](https://github.com/mvdschee/web-accessibility/pull/23) by [Gilles Leblanc](https://github.com/gilles-leblanc) * Updated/Upgraded dependencies diff --git a/README.md b/README.md index 9212987..72fb7a8 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,17 @@ # Web Accessibility Extension - Visual Studio Code [![The MIT License](https://flat.badgen.net/badge/license/MIT/orange)](http://opensource.org/licenses/MIT) [![GitHub](https://flat.badgen.net/github/release/mvdschee/web-accessibility)](https://github.com/mvdschee/web-accessibility/releases) -[![Visual Studio Marketplace](https://flat.badgen.net/vs-marketplace/d/MaxvanderSchee.web-accessibility)](https://marketplace.visualstudio.com/items?itemName=MaxvanderSchee.web-accessibility) +[![Visual Studio Marketplace](https://flat.badgen.net/vs-marketplace/i/MaxvanderSchee.web-accessibility)](https://marketplace.visualstudio.com/items?itemName=MaxvanderSchee.web-accessibility) -### So I heard you wanted to write more accessible websites? Well, you came to the right Extension! -> Although this extension will help you write better Web Accessible applications/websites is only based on your code, which means it can't cover the full spectrum of Web Accessibility. +### So I heard you wanted to write more accessible code? Well, you came to the right Extension! +> This extension is here to help you get feedback on what parts need some more attention for it to be accessible, this is just the basics and doesn't cover all the rules but will help with making your project more accessible. ## ✨Features ![](./web-accessibility.gif) The extension can do the following for you: * Highlight elements that you should consider changing. -* Give a hint what to change - +* Give a hint on how you should change it. ## 🔒Extension Settings The settings can be found at `File > Preferences > Settings > Extensions > Web Accessibility` @@ -23,11 +22,6 @@ The settings can be found at `File > Preferences > Settings > Extensions > Web A | Semantic HTML | boolean | false | | Trace: Server | string | off | -## 🐛Known Issues -The following Issues will be dealt with soon. -* More informing messages with links to resources. -* Not all Web Accessibility errors implemented. - ## 📝Release Notes All notable changes to this project will be documented in the [Changelog](./CHANGELOG.md). diff --git a/client/package-lock.json b/client/package-lock.json index a824a62..d840fbf 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,6 +1,6 @@ { "name": "web-accessibility-client", - "version": "0.2.7", + "version": "0.2.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/client/package.json b/client/package.json index 563dfcd..0c9dae5 100644 --- a/client/package.json +++ b/client/package.json @@ -1,9 +1,9 @@ { "name": "web-accessibility-client", - "description": "Web Accessibility for Visual Studio Code", + "description": "Audit Web Accessibility issues in Visual Studio Code", "author": "MaxvanderSchee", "license": "MIT", - "version": "0.2.7", + "version": "0.2.8", "publisher": "MaxvanderSchee", "repository": "https://github.com/mvdschee/web-accessibility", "engines": { diff --git a/client/src/extension.ts b/client/src/extension.ts index 244fedf..105765d 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -39,7 +39,9 @@ export function activate(context: ExtensionContext) { // Register the server for HTML documents documentSelector: [ { language: 'html', scheme: 'file' }, - { language: 'javascriptreact', scheme: 'file' } + { language: 'javascriptreact', scheme: 'file' }, + { language: 'vue-html', scheme: 'file' }, + { language: 'vue', scheme: 'file' }, ], synchronize: { // Notify the server about file changes to '.clientrc files contained in the workspace diff --git a/package-lock.json b/package-lock.json index c978900..f6dc15c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "web-accessibility", - "version": "0.2.7", + "version": "0.2.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3e8e200..db3c10f 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "web-accessibility", "displayName": "Web Accessibility", - "description": "Web Accessibility for Visual Studio Code", - "version": "0.2.7", + "description": "Audit Web Accessibility issues in Visual Studio Code", + "version": "0.2.8", "publisher": "MaxvanderSchee", "license": "MIT", "repository": "https://github.com/mvdschee/web-accessibility", @@ -11,19 +11,21 @@ "vscode": "^1.25.0" }, "categories": [ - "Linters", - "Formatters" + "Linters" ], "keywords": [ "web accessibility", "a11y", "wai-aria", "wai", - "accessibility" + "accessibility", + "audit" ], "activationEvents": [ "onLanguage:html", - "onLanguage:javascriptreact" + "onLanguage:javascriptreact", + "onLanguage:vue-html", + "onLanguage:vue" ], "main": "./client/out/extension", "contributes": { diff --git a/server/package-lock.json b/server/package-lock.json index dc8e25e..9b514d0 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -1,6 +1,6 @@ { "name": "web-accessibility-server", - "version": "0.2.7", + "version": "0.2.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/server/package.json b/server/package.json index 6bdd9dd..8d9c323 100644 --- a/server/package.json +++ b/server/package.json @@ -1,9 +1,9 @@ { "name": "web-accessibility-server", - "description": "Web Accessibility for Visual Studio Code", + "description": "Audit Web Accessibility issues in Visual Studio Code", "author": "MaxvanderSchee", "license": "MIT", - "version": "0.2.7", + "version": "0.2.8", "publisher": "MaxvanderSchee", "repository": "https://github.com/mvdschee/web-accessibility", "engines": { diff --git a/server/src/accessibilityPatterns.ts b/server/src/accessibilityPatterns.ts index f5bc951..ff6603e 100644 --- a/server/src/accessibilityPatterns.ts +++ b/server/src/accessibilityPatterns.ts @@ -11,16 +11,16 @@ // Order based om most common types first const patterns: string[] = [ - "