forked from joomla/joomla-cms
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4.1] Joomla-Accessibility Checker (jooa11y). (joomla#36190)
* jooa11y scaffolding media folder web assets hard coded until we decide on npm or not to install check out this branch npm run build:js npm run build:css discover install the plugin todo - aka brian needs help [] make the checker start [] make the checker use the settings from the plugin * script loads now * tippy - temp * editor button * toolbar * enpugh * Jooa11y/enhancements (#132) * Add some enhancements * Fix wrong name Co-authored-by: Benjamin Trenkle <[email protected]> * tabs * tippy popper licence and naming * postgresql install * xml bug * cleaning * tidy * fix * dont need scss * needs to be an integer * deploy version * might not be the best way? * Revert "Auxiliary commit to revert individual files from 18199dd" This reverts commit 4eb15800ccc4bb0d64580013b58a92505bc5abfc. * clarify show * options * package.lock * remove editor button * cs * string * set input * deploy * Temporary add git to node ci (#133) * github link * param * Revert "param" This reverts commit 378a64e. * params * spelling * revert * sql field * cs and spelling * Fix npm * Revert drone.yml change * Switch package to tarball * Use the es module * Update eslint-plugin-vue to 8.2.0 * CS (#135) * lang * progress update * fix strings * load strings * js change from @Fedik * typo and package-lock * sef and non-sef * revert change by Dimitris * Update joomla-a11y-checker version * Update joomla-a11y-checker version * Update view preview url * simplify * Update jooa11y.php * fix jscs (#136) * undo eslint change * remove "Additional ruleset toggles" from the plugin settings * Update .eslintrc lets try this again * final try * sha Co-authored-by: Benjamin Trenkle <[email protected]> Co-authored-by: Harald Leithner <[email protected]> Co-authored-by: dgrammatiko <[email protected]> Co-authored-by: Dimitris Grammatikogiannis <[email protected]> Co-authored-by: Benjamin Trenkle <[email protected]> Co-authored-by: Fedir Zinchuk <[email protected]>
- Loading branch information
1 parent
9a5a778
commit 1a32b68
Showing
21 changed files
with
5,687 additions
and
4,600 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-11-26.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
INSERT INTO `#__extensions` (`name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `locked`, `manifest_cache`, `params`, `custom_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES | ||
('plg_system_jooa11y', 'plugin', 'jooa11y', 'system', 0, 1, 1, 0, 1, '', '', '', 0, NULL, 0, 0); |
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/updates/postgresql/4.1.0-2021-11-26.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
INSERT INTO "#__extensions" ("name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "locked", "manifest_cache", "params", "custom_data", "checked_out", "checked_out_time", "ordering", "state") VALUES | ||
('plg_system_jooa11y', 'plugin', 'jooa11y', 'system', 0, 1, 1, 0, 1, '', '', '', 0, NULL, 0, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
; Joomla! Project | ||
; (C) 2021 Open Source Matters, Inc. <https://www.joomla.org> | ||
; License GNU General Public License version 2 or later; see LICENSE.txt | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
PLG_SYSTEM_JOOA11Y="System - Joomla Accessibility Checker" | ||
PLG_SYSTEM_JOOA11Y_XML_DESCRIPTION="The Joomla Accessibility Checker visually highlights common accessibility and usability issues. Geared towards content authors, the plugin identifies errors or warnings and provides guidance on how to fix them." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json", | ||
"name": "plg_system_jooa11y", | ||
"version": "4.0.0", | ||
"description": "Joomla CMS", | ||
"license": "GPL-2.0-or-later", | ||
"assets": [ | ||
{ | ||
"name": "plg_system_jooa11y.jooa11y-es5", | ||
"type": "script", | ||
"uri": "plg_system_jooa11y/jooa11y-es5.min.js", | ||
"dependencies": [ | ||
"core" | ||
], | ||
"attributes": { | ||
"defer": true, | ||
"nomodule": true | ||
} | ||
}, | ||
{ | ||
"name": "plg_system_jooa11y.jooa11y", | ||
"type": "script", | ||
"uri": "plg_system_jooa11y/jooa11y.min.js", | ||
"dependencies": [ | ||
"plg_system_jooa11y.jooa11y-es5" | ||
], | ||
"attributes": { | ||
"type": "module" | ||
} | ||
}, | ||
{ | ||
"name": "plg_system_jooa11y.jooa11y", | ||
"type": "style", | ||
"uri": "plg_system_jooa11y/jooa11y.min.css" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Jooa11y, Lang } from 'joomla-a11y-checker/dist/js/joomla-a11y-checker.esm.js'; | ||
|
||
if (!Joomla) { | ||
throw new Error('Joomla API is not properly initialised'); | ||
} | ||
|
||
const stringPrefix = 'PLG_SYSTEM_JOOA11Y_'; | ||
|
||
Lang.translate = (string) => Joomla.Text._(stringPrefix + string, string); | ||
|
||
const options = Joomla.getOptions('jooa11yOptions'); | ||
|
||
window.addEventListener('load', () => { | ||
// Instantiate | ||
const checker = new Jooa11y(options); | ||
checker.doInitialCheck(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "node_modules/joomla-a11y-checker/dist/css/joomla-a11y-checker"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.