-
-
Couldn't load subscription status.
- Fork 3.7k
[5.1] Update Jooa11y with latest Sa11y build (Attempt #2) #42780
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 36 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e3279bc
Updating Jooa11y with latest build of Sa11y - WIP
adamchaboryk 49cdd39
Update Jooa11y (Work in Progress)
adamchaboryk bfbe3d7
Merge branch 'joomla:5.0-dev' into 5.0-dev
adamchaboryk 4750711
Merge branch 'joomla:5.0-dev' into 5.0-dev
adamchaboryk e1104d2
Allow users to pass in boolean props to jooa11y
adamchaboryk 9a0b950
Update Jooa11y.php
adamchaboryk 7fd9040
UMD to ESM
adamchaboryk 6674a90
Fixes based on @Fedik's feedback!
adamchaboryk 59e9c2b
Updating Jooa11y with latest build of Sa11y - WIP
adamchaboryk 96ed0d1
Update Jooa11y (Work in Progress)
adamchaboryk 462c442
Allow users to pass in boolean props to jooa11y
adamchaboryk 818b12e
Update Jooa11y.php
adamchaboryk c53af66
UMD to ESM
adamchaboryk 0325e07
Fixes based on @Fedik's feedback!
adamchaboryk bf2d4f4
Merge branch '5.0-dev' of https://github.com/adamchaboryk/joomla-cms …
adamchaboryk 1b19647
Update administrator/language/en-GB/plg_system_jooa11y.ini
adamchaboryk e42fada
Update administrator/language/en-GB/plg_system_jooa11y.ini
adamchaboryk 798f6b6
Fix code style/indents
adamchaboryk b044f96
Take 2: Make linter happy
adamchaboryk ed9a310
Attempt #3 - Make linter happy
adamchaboryk ddb39f3
Attempt 4 at making linter happy
adamchaboryk 52bc85f
Last attempt at making linter happy
adamchaboryk 6ded6e2
Okay, actual last attempt at making linter happy
adamchaboryk 87e52e9
couple fixes
Fedik 86f110b
Merge pull request #1 from Fedik/pull42780
adamchaboryk 7a0bd40
Update Jooa11y.php
adamchaboryk 4248c07
Update Jooa11y.php
adamchaboryk ed2dddc
Update plugins/system/jooa11y/jooa11y.xml
adamchaboryk 757661e
Update plugins/system/jooa11y/src/Extension/Jooa11y.php
adamchaboryk 9144751
Update administrator/language/en-GB/plg_system_jooa11y.ini
adamchaboryk f97efbc
Addressing a backward compatibility
Fedik f5a335f
Merge pull request #2 from Fedik/pull42780
adamchaboryk 52eb4f3
Update settings.json
adamchaboryk a9f1927
Update plg_system_jooa11y.ini
adamchaboryk 912f945
Deprecate strings
Fedik df26b1d
Merge pull request #3 from Fedik/pull42780
adamchaboryk 0d569ca
Update administrator/language/en-GB/plg_system_jooa11y.ini
adamchaboryk 390c360
Update administrator/language/en-GB/plg_system_jooa11y.ini
adamchaboryk f9ebd52
Update administrator/language/en-GB/plg_system_jooa11y.sys.ini
adamchaboryk 070c8f3
Merge branch '5.1-dev' into 5.1-dev
LadySolveig 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,11 @@ | ||
| import { Jooa11y, Lang } from '@joomla/joomla-a11y-checker/dist/js/joomla-a11y-checker.esm.js'; | ||
| // eslint-disable-next-line import/no-unresolved | ||
| import { Sa11y, Lang } from 'sa11y'; | ||
| // eslint-disable-next-line import/no-unresolved | ||
| import Sa11yLang from 'sa11y-lang'; | ||
|
|
||
| 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'); | ||
| Lang.addI18n(Sa11yLang.strings); | ||
|
|
||
| window.addEventListener('load', () => { | ||
| // Instantiate | ||
| const checker = new Jooa11y(options); | ||
| checker.doInitialCheck(); | ||
| // eslint-disable-next-line no-new | ||
| new Sa11y(Joomla.getOptions('jooa11yOptions', {})); | ||
| }); |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.