? NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
15 Feb 2020

Read more about the plugin here https://ranbuch.github.io/accessibility/

This was previously at #24112 but there was a bug upstream which has now been fixed

Feature configuration options have not been added at this point - not sure if we should.

This can be configured to be site, administrator or both

To test you will need to

  1. apply the patch
  2. composer install
  3. npm i
  4. Discover the plugin
  5. Enable the plugin

Supports RTL

image

image

Previous Comment

@zwiastunsw

  • Such a plugin is useful and may improve the accessibility of the site, provided that it works well. Brian has chosen a very good script that doesn't cause the errors that widgets of this type cause.
  • The plugin does not solve the problems of people with disabilities. People with disabilities use specialised tools (screen readers, screen magnifiers, braille embossers… etc.). But it improves usability for the elderly, people with visual impairments, people with cognitive problems.
  • E.g. a blind person will use a screen reader and not the option to change text to speech. But this is a very good solution for the elderly, for people who have difficulty concentrating, and also for those who cannot read at the moment.
  • Text enlargement is very useful for many seniors and people who see less well. Such people often do not know about the possibilities of the browser and like to use such tools.
  • The contrast version will not replace the correct contrasts on the website. But it can be helpful for people who have weaker eyesight or for people who browse the site, for example in a sunny place.
  • WCAG does not require the links to be underlined (they must be highlighted). But underlined links can improve accessibility for visually impaired people or for people who have difficulty concentrating.
avatar brianteeman brianteeman - open - 15 Feb 2020
avatar brianteeman brianteeman - change - 15 Feb 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Feb 2020
Category Administration Language & Strings Repository NPM Change Front End Plugins
avatar brianteeman brianteeman - change - 15 Feb 2020
Labels Added: ? NPM Resource Changed ? ?
avatar brianteeman brianteeman - change - 16 Feb 2020
The description was changed
avatar brianteeman brianteeman - edited - 16 Feb 2020
avatar brianteeman brianteeman - change - 16 Feb 2020
The description was changed
avatar brianteeman brianteeman - edited - 16 Feb 2020
avatar brianteeman
brianteeman - comment - 16 Feb 2020

@Fedik I fixed the bits I wanted help on. Well it works but maybe it could be better code.

4427264 16 Feb 2020 avatar brianteeman drone
avatar Fedik
Fedik - comment - 16 Feb 2020

it looks good, I only would use WebAsset ?
I can make a pull, but a bit later

avatar brianteeman brianteeman - change - 16 Feb 2020
The description was changed
avatar brianteeman brianteeman - edited - 16 Feb 2020
avatar Fedik
Fedik - comment - 16 Feb 2020

I have tested a bit, and noticed the font size scaling works "not equal" for all blocks,
I think it is due to how font size coded in the template style

avatar brianteeman
brianteeman - comment - 16 Feb 2020

TEXT SIZE MANIPULATION APPROACHES
If text increase / decrease isn't working for your size your probablly not using responsive font size units (sutch as em, rem etc.).

In that case you can initialize the accessibility tool like this:

new Accessibility({textPixelMode: true})

avatar Fedik
Fedik - comment - 16 Feb 2020

In that case you can initialize the accessibility tool like this:
new Accessibility({textPixelMode: true})

Yeah, but it have a huge performance drawback, I just tried.
It is better if someone review hardcoded font sizes in the template, after the plugin will be merged

avatar brianteeman
brianteeman - comment - 16 Feb 2020

It is better if someone review hardcoded font sizes in the template, after the plugin will be merged

I agree

avatar brianteeman
brianteeman - comment - 16 Feb 2020

thanks for the web asset stuff - I will test and merge that soon

avatar Fedik
Fedik - comment - 16 Feb 2020

hm, no, sorry for misleading, the fonts is not hardcoded,

I see the plugin manipulate font size of <body>, that not always correct,
would be better if it can do with <html>
All fonts in template are in rem that is allow you to change font size in browser settings, that how browser Accessibility works (see font size in browser settings)

avatar brianteeman
brianteeman - comment - 16 Feb 2020

Can you tell me where you are seeing fonts not resizing

avatar Fedik
Fedik - comment - 16 Feb 2020

I tried administrator/index.php?option=com_plugins&view=plugins
the menu "resizes", but the content in table and in filters are not,
also if open any plugin to edit

but resizing work, if I change font size in browser setting

avatar brianteeman
brianteeman - comment - 16 Feb 2020

bugger - confirmed

avatar brianteeman
brianteeman - comment - 16 Feb 2020

Now uses web asset

avatar brianteeman
brianteeman - comment - 17 Feb 2020

@Fedik the good news is that its nothing to do with the script and it is some sort of bug with the current atum template. It works perfectly with the template @angieradtke is working on

avatar Fedik
Fedik - comment - 17 Feb 2020

bug with the current atum template

There no bug in template, the script use incorrect approach.
Check section "Base font size and accessibility"
https://betterwebtype.com/articles/2019/06/16/5-keys-to-accessible-web-typography/

But if the template will change all font size to em then it will work as is, of course. That also fine.

avatar joomla-cms-bot joomla-cms-bot - change - 22 Feb 2020
Category Administration Language & Strings Repository NPM Change Front End Plugins Administration Language & Strings Repository Libraries NPM Change Front End Plugins
avatar brianteeman brianteeman - change - 22 Feb 2020
Title
[RFC] Adaptive Accessibility Menu
[4.0] Adaptive Accessibility Menu
avatar brianteeman brianteeman - edited - 22 Feb 2020
avatar Fedik
Fedik - comment - 23 Feb 2020

btw, I have open an issue about font-size bug, in their repository.
Would be nice if they can fix it on their side.

avatar Fedik
Fedik - comment - 29 Feb 2020

he fixed the font issue, can you try update script here to 3.0.9

avatar brianteeman
brianteeman - comment - 29 Feb 2020

awesome - will do that this afternoon

avatar brianteeman brianteeman - change - 29 Feb 2020
Labels Removed: ?
avatar brianteeman
brianteeman - comment - 29 Feb 2020

updated the version

avatar Fedik
Fedik - comment - 29 Feb 2020

I have tested this item successfully on e1eb82e

now it works much better


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27940.

avatar Fedik Fedik - test_item - 29 Feb 2020 - Tested successfully
avatar alikon
alikon - comment - 29 Feb 2020

I have tested this item successfully on e1eb82e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27940.

avatar alikon alikon - test_item - 29 Feb 2020 - Tested successfully
avatar alikon alikon - change - 29 Feb 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 29 Feb 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27940.

avatar alikon
alikon - comment - 29 Feb 2020

btw a bit ugly when you invert colours ...
is this configurable ?

avatar brianteeman brianteeman - change - 29 Feb 2020
Labels Added: ?
avatar brianteeman
brianteeman - comment - 29 Feb 2020
  1. please remove rtc as there is no sql yet
  2. invert colours is supposed to look like that. its not for your eyesight
avatar Quy Quy - change - 29 Feb 2020
Status Ready to Commit Pending
avatar brianteeman brianteeman - change - 29 Feb 2020
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 29 Feb 2020
Category Administration Language & Strings Repository NPM Change Front End Plugins Libraries SQL Administration com_admin Postgresql Language & Strings Repository Installation Libraries NPM Change Front End Plugins
avatar brianteeman brianteeman - change - 29 Feb 2020
The description was changed
avatar brianteeman brianteeman - edited - 29 Feb 2020
avatar brianteeman
brianteeman - comment - 29 Feb 2020

sql files now added and this PR is complete

avatar brianteeman
brianteeman - comment - 2 Mar 2020

conflicts resolved

avatar alikon
alikon - comment - 6 Mar 2020

I have tested this item successfully on c4bf48c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27940.

avatar alikon alikon - test_item - 6 Mar 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 9 Mar 2020

I have tested this item successfully on c4bf48c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27940.

avatar jwaisner jwaisner - test_item - 9 Mar 2020 - Tested successfully
avatar jwaisner jwaisner - change - 9 Mar 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 9 Mar 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27940.

avatar brianteeman brianteeman - change - 10 Mar 2020
Labels Added: ?
avatar brianteeman
brianteeman - comment - 10 Mar 2020

remaining drone error is unrelated to this pr and fixed with #28293

avatar wilsonge
wilsonge - comment - 10 Mar 2020

Can you merge through 4.0-dev please so I can see the green tick of goodness please :)

avatar wilsonge
wilsonge - comment - 10 Mar 2020

Other than a boring piece of codestyle this looks good to me

avatar brianteeman
brianteeman - comment - 10 Mar 2020

@wilsonge all done - the new drone failures are the usual pos test failing

avatar wilsonge
wilsonge - comment - 10 Mar 2020

ta. i'll keep kicking it until it goes green

avatar brianteeman
brianteeman - comment - 10 Mar 2020

all green now

avatar wilsonge wilsonge - change - 10 Mar 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-03-10 13:45:37
Closed_By wilsonge
avatar wilsonge wilsonge - close - 10 Mar 2020
avatar wilsonge wilsonge - merge - 10 Mar 2020
avatar wilsonge
wilsonge - comment - 10 Mar 2020

And all merged - thanks!

avatar brianteeman
brianteeman - comment - 10 Mar 2020

Yay. Thanks

Add a Comment

Login with GitHub to post a comment