Skip to content

Contrast analysis running during an animation #24

@WilcoFiers

Description

@WilcoFiers

I just integrated agnostic-axe into a Vue app I'm working on. One thing I keep seeing is contrast errors of text that get tested while it is fading in. Agnostic-axe basically just doesn't wait long enough for the content to be fully rendered.

I'm wondering if this could be done a little smarter. Instead of immediately running, if an element has a opacity value of less than 1, perhaps a timeout can be set that checks back in on the element after 100ms (or something), if at that time the opacity is at 1, or hasn't changed, test it, if not defer again until that condition is met, or perhaps until some maximum timeout has been reached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions