act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
131 stars 67 forks source link

Target size minimum #2167

Open Jym77 opened 4 months ago

Jym77 commented 4 months ago

Add rules for "Target Size (minimum)" and "Target Size (enhanced)" Success Criteria.

These are set up as composite rules in order to share the exceptions that are shareable.

"Target Size (minimum)" is messy due to the spacing condition that has to be failing in all Failed example, thus requiring quite a bit of scaffholding.

Closes issue(s):

Need for Call for Review: This will require a 2 weeks Call for Review (new rules 🎉)


Pull Request Etiquette

When creating PR:

After creating PR:

When merging a PR:

How to Review And Approve

CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Carlos Duarte seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Jym77 commented 3 months ago

~(prettier changes should be fixed by #2173)~

tbostic32 commented 3 months ago

@Jym77 would it be possible to split this PR into several smaller PRs? It would just help us to push some of the rules along without having to wait for us to review all of them.

@tombrunet Pinging you for SA

Jym77 commented 3 months ago

@Jym77 would it be possible to split this PR into several smaller PRs? It would just help us to push some of the rules along without having to wait for us to review all of them.

@tbostic32 I'm not sure it would make sense to review the atomic rules in isolation, plus there would be confusion around the shared definitions (they would either be duplicated in all PRs, with merge conflict nightmare upcoming, or be missing from some which makes them harder to read).

But I do agree the resulting PR is quite huge 😖

dd8 commented 2 months ago

Is there anywhere we can view the built HTML for this branch? The diffs are so big they're hard to read, and since it's a new rule the whole thing needs reviewed as a whole.

daniel-montalvo commented 2 months ago

Is there anywhere we can view the built HTML for this branch? The diffs are so big they're hard to read, and since it's a new rule the whole thing needs reviewed as a whole.

@dd8 -- We are working on setting up a Netlify site for https://act-rules.github.io We can have each PR built and deployed, which will hopefully improve things.

Jym77 commented 2 months ago

@tbostic32 I'm trying the "split" approach, by isolating one of the rules in #2182. That rule makes little sense in isolation, but hopefully will be easier to review and merge nonetheless.

We've also looked at getting PR-publish. It's a very good idea overall, but a bit tricky with our Github pages publish workflow (especially since it has been broken for a couple of years) See #2183 for some investigation.