Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hasAria() assertion #652

Closed
Turbo87 opened this issue Mar 25, 2020 · 2 comments · Fixed by #679
Closed

Add hasAria() assertion #652

Turbo87 opened this issue Mar 25, 2020 · 2 comments · Fixed by #679

Comments

@Turbo87
Copy link
Collaborator

Turbo87 commented Mar 25, 2020

This could act as a shortcut for hasAttribute():

hasAria(name, value, message) {
  hasAttribute(`aria-${name}`, value, message);
}

@MelSumner thoughts?

@MelSumner
Copy link

I like it because it seems like it will help bring this more into the developer's conscious stream while they're writing tests. 👍

@scalvert
Copy link
Collaborator

I think this may have been what I was getting at with #99 (comment).

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants