sa11y icon indicating copy to clipboard operation
sa11y copied to clipboard

spike: preset-rule configurations based on dynamic criteria

Open mohanraj-r opened this issue 4 years ago • 2 comments

Would it make sense to have preset-rules by

  • a rough estimate of how easy the fix would be
    • e.g. image-redundant-alt is usually a quick fix while aria-hidden-body is often a bit more involved.
  • based on performance by benchmarking individual rules
    • e.g. a fast/basic preset-rules for use in performance critical scenarios
  • WCAG levels - A, AA etc ?
    • Might not have value for most of our UIs, as we require both for GA features, but could be useful for beta/pilot UIs.

mohanraj-r avatar May 01 '20 21:05 mohanraj-r

@cordeliadillon @spatelak Have captured discussions about more dynamic preset-rule configs in this issue. Please feel free to comment with any more info/context.

mohanraj-r avatar May 01 '20 21:05 mohanraj-r

In my opinion, things like what rules are easy to fix or which run fast enough are too subjective to be a ruleset that's supported at this low of a level. I'd rather see the ability to easily plug in custom configs and let the consuming projects build the config themselves to meet their needs.

trevor-bliss avatar May 04 '20 20:05 trevor-bliss