-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Describe the bug
I ran a lighthouse 6 audit on a page with b-pagination-nav and it came back with an aria error.
https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1590623485410-54343.report.html
[aria-*] attributes do not match their roles
Each ARIA role
supports a specific subset of aria-*
attributes. Mismatching these invalidates the aria-*
attributes. Learn more.
<a href="/recipes" aria-current="page" aria-label="Go to page 1" aria-posinset="1" aria-setsize="2" target="_self" class="page-link nuxt-link-exact-active active">1</a>
Expected behavior
It seems like the tag is missing a role attribute: https://www.w3.org/TR/wai-aria-1.1/#aria-setsize
Versions
Libraries:
- BootstrapVue: 2.15.0
- Nuxt: 2.12.2
Environment:
- Device: Emulated Moto G4
- OS: Linux
- Browser: HeadlessChrome
- Version: 83.0.4103.61