Closed (fixed)
Project:
Editoria11y Accessibility Checker
Version:
2.0.x-dev
Component:
Feature and test requests
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
28 Apr 2023 at 19:36 UTC
Updated:
27 Mar 2026 at 10:17 UTC
Jump to comment: Most recent
Comments
Comment #2
itmaybejj commentedComment #3
nmillin commentedI'm interested in this feature. Is this something that is being worked on?
In looking at https://www.drupal.org/project/editoria11y/issues/3305813, there seems to be some v2 upgrades and I want to make sure I'm going down the correct rabbit hole. Right now I'm going down the hole of Ed11y.checkAll();
Thanks!
Comment #4
itmaybejj commentedI'm not working on anything tagged "postponed" at the moment.
Comment #5
nmillin commentedGotcha. I was able to get something working using a custom test and removing individual tests that I don't want to show my content authors yet. I think this is something that could be done via config in the Drupal settings at /admin/config/content/editoria11y, but I don't want to go down that path if it isn't something you (@itmaybejj) are interested in.
Here is what I did:
https://editoria11y.princeton.edu/configuration/#customtests was used as the starting point
Right before step 4 (when ed11yResume is dispatched), I loop through Ed11y.results and remove all tests not in the allow list I created.
Code sample:
I'll be gone for a week or so, but @itmaybejj let me know if this is something you are interested in having in the Drupal module and I can work on getting a MR spun up.
Thanks for this great tool!
Comment #6
itmaybejj commentedOh that's clever, and will work fine for the life of the 2.x branch. Sa11y does something similar, just embedded within the rulesets.
My vague plan has been to use an array like that, but reversed (disallowedTests), so that people would not need to update their settings when I added new tests and there wouldn't need to be as much data in drupalSettings.
Comment #7
nmillin commentedGotcha. I like disallowedTests better.
I'm going to try and work on a MR for this functionality. By default, all tests would be enabled but individual tests could be disabled. I'll share when I have a rough working example. Thanks!
Comment #12
nmillin commentedOk... https://git.drupalcode.org/project/editoria11y/-/merge_requests/20 is available for review. Let me know what you think.
A couple of things:
Thanks.
Comment #15
itmaybejj commentedInteresting. This might work.
I'm on assigned projects pretty much to the end of the month, and will be turning back to this March-ish.
Comment #16
nmillin commentedSounds good!
I've pushed an update that updates the admin settings form to be human friendly labels. (It helps me better understand the tests too)
Let me know if you need anything from me (when you return to this). Thanks.
Comment #17
itmaybejj commentedComment #18
itmaybejj commentedThis looks fantastic to me. Thank you. Merging to test for next release...
Comment #20
nmillin commentedGreat! Thanks.
Comment #21
itmaybejj commentedComment #22
itmaybejj commentedReleased!