-
Notifications
You must be signed in to change notification settings - Fork 19
Adds editoria11y module #888
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
base: 3.x
Are you sure you want to change the base?
Conversation
Very cool, thanks @markconroy , it seems to work as advertised! It is not installed by default. When enabled: A user with the 'editor' (localgov_editor) role has the Editoria11y widget in the bottom right corner Some questions:
|
If not, all roles will get the editorially widget, but I took the position that initially only localgov_editor should get it, rather than everyone such as emergency_publisher. So I'm just removing the permission from others and then adding it to editors. Thinking about it, we should probably remove permissions from all roles initially, and then add it back in for editors and admins only, rather than hardcoding the list of roles it should be removed from. Issue: https://www.drupal.org/project/localgov_editoria11y/issues/3544375 @finnlewis can you test that ^
Yes, I've merged your PR for that.
Let's get to beta first. |
@tonypaulbarker points out that this has more features than sa11y, so we probably want to phase sa11y out. |
I will test this again, thanks @markconroy :) |
For localgov_sa11y we added a config form so that we could allow devs to exclude parts of the site (such as header/footer etc) as editors won't be able to change anything in those areas. We also added options for positioning - our preference would be to have it top-right, others will want it elsewhere: https://github.com/localgovdrupal/localgov_sa11y/blob/1.x/src/Form/Sa11yOptionsForm.php Can we do something similar for localgov_editora11y? |
@AWearring what would be cool then would be to look at adding controls to turn things on and off according to the context where they should be fixed. Some things can probably be fixed upstream. Some might be for microsites controllers. In another case, a web manager is doing an exercise and wants to raise a ticket for developers to fix an issue so they should have the option to see everything. It sounds complicated but I can see the value in narrowing down the notices. |
Closes #859
What does this change?
Adds "LocalGov Editoria11y" module, which pulls in the Editoria11y module and configures the permissions for it.
How to test
How can we measure success?
More accessible LGD sites!!!
Thanks to Big Blue Door for sponsoring my time to work on this.