Skip to content

Universal test helpers for WAI aria widgets #246

@gossi

Description

@gossi

Over the weekend I did wrote tests for a select component. I extracted the tests for it in a couple of functions as they work on the a11y tree on top of the dom. The idea: "You can copy paste them" from one project to another.

I wrote a little more about this idea and explaining with my example: https://gist.github.com/gossi/9b4e4fcdb4798f3fc3915ab2dc9a1b9c

Of course this was just a first shot at the API for them to get some hands on experience. Overall I really want to share them with the greater public and whether ember-a11y-testing is the proper to contribute them to?

Would love to hear suggestions.

Thanks

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