-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.1] Joomla-Accessibility Checker (jooa11y). #36190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 50 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
ae9ff3c
jooa11y scaffolding
brianteeman 7c91f70
script loads now
brianteeman 7bff534
tippy - temp
brianteeman ac4c74c
editor button
brianteeman 65c5d97
toolbar
brianteeman af113ba
enpugh
brianteeman caff6bf
Jooa11y/enhancements (#132)
brianteeman 0711d1a
tabs
brianteeman 752cec0
tippy popper licence and naming
brianteeman bd903da
postgresql install
brianteeman a1721f3
xml bug
brianteeman 72b5a7c
cleaning
brianteeman a94a383
tidy
brianteeman c72c179
fix
brianteeman ec08ba4
dont need scss
brianteeman cdaf677
needs to be an integer
brianteeman ad4dd17
deploy version
brianteeman 18199dd
might not be the best way?
brianteeman be65bdc
Revert "Auxiliary commit to revert individual files from 18199dd5bec4…
brianteeman af7d967
clarify show
brianteeman 384172b
options
brianteeman b6dab12
package.lock
brianteeman 7d3db5e
remove editor button
brianteeman 5394e79
Merge branch '4.1-dev' into 4.1-dev
brianteeman 919a5af
cs
brianteeman 8378659
string
brianteeman 4c7c9ce
set input
brianteeman 03c867c
deploy
brianteeman 03d4c73
Temporary add git to node ci (#133)
HLeithner 6d25a63
github link
brianteeman 88328c0
Merge branch 'joomla:4.1-dev' into 4.1-dev
brianteeman 378a64e
param
brianteeman d56c61d
Revert "param"
brianteeman aab7e53
params
brianteeman 8f59b2c
spelling
brianteeman c44ec6e
revert
brianteeman ca85dab
sql field
brianteeman f6eaefd
cs and spelling
brianteeman bdab588
Merge branch '4.1-dev' into jooa11y-plugin
brianteeman 7df048a
Fix npm
HLeithner d164a6a
Revert drone.yml change
HLeithner 2f73fad
Switch package to tarball
HLeithner 105f8b5
Use the es module
dgrammatiko 9a9af57
Update eslint-plugin-vue to 8.2.0
HLeithner 253bd0d
CS (#135)
dgrammatiko e5aa2ad
lang
brianteeman 57eb9d4
progress update
brianteeman 6f41b7e
Merge branch '4.1-dev' into jooa11y-plugin
bembelimen 00d4421
fix strings
brianteeman 2d43d11
load strings
brianteeman 98227ef
js change from @fedik
brianteeman 78c4ce0
typo and package-lock
brianteeman 73807ff
sef and non-sef
brianteeman 3e973c2
revert change by Dimitris
brianteeman 910a1b5
Update joomla-a11y-checker version
HLeithner 46b519b
Merge branch 'jooa11y-plugin' of https://github.com/brianteeman/jooml…
HLeithner fe06116
Update joomla-a11y-checker version
HLeithner a9e177d
Update view preview url
HLeithner a57fe76
simplify
brianteeman b6c1646
Update jooa11y.php
brianteeman c51c171
Merge branch '4.1-dev' into jooa11y-plugin
bembelimen 1c8e89f
fix jscs (#136)
Fedik cda6b4c
Merge branch '4.1-dev' into jooa11y-plugin
brianteeman 4c361aa
undo eslint change
brianteeman 8688040
remove "Additional ruleset toggles" from the plugin settings
brianteeman 7bb36cb
Update .eslintrc
brianteeman b8c913b
final try
brianteeman 047dc4e
Merge branch '4.1-dev' into jooa11y-plugin
brianteeman da50c9a
sha
brianteeman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,18 @@ | ||
| import { Jooa11y, Lang } from 'joomla-a11y-checker/dist/js/joomla-a11y-checker.esm.js'; | ||
|
|
||
| if (!Joomla) { | ||
| throw new Error('Joomla API is not initaiated properly!'); | ||
| } | ||
|
|
||
Fedik marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Lang.translate = string => { | ||
| const stringPrefix = 'PLG_SYSTEM_JOOA11Y_'; | ||
| return Joomla.Text._(stringPrefix + string, string); | ||
| }; | ||
brianteeman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| const options = Joomla.getOptions('jooa11yOptions'); | ||
|
|
||
| window.addEventListener('load', () => { | ||
| // Instantiate | ||
| const checker = new Jooa11y(options); | ||
| checker.doInitialCheck(); | ||
| }); | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.