- Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
add role="button" or href="#" and prevent default bebahivor to pass these accessibility tests.
<li v-for="page in pager.pages" :key="page" class="page-item page-number" :class="{'active': pager.currentPage === page}" :style="liStyles"> <a class="page-link" @click="setPage(page)" :style="aStyles">{{page}}</a> </li>
Need to be changed to
<li v-for="page in pager.pages" :key="page" class="page-item page-number" :class="{'active': pager.currentPage === page}" :style="liStyles"> <a class="page-link" href="#" @click.prevent="setPage(page)" :style="aStyles">{{page}}</a> </li> Metadata
Metadata
Assignees
Labels
No labels