7bed453de3
This introduces ember-a11y-testing to acceptance tests via a helper wrapper that allows us to globally ignore rules that we can address separately. It also adds fixes for the aXe rules that were failing.
15 lines
753 B
Handlebars
15 lines
753 B
Handlebars
{{#if this.source.length}}
|
|
{{yield (hash
|
|
first=(component "list-pagination/list-pager" test="first" label="First page" page=1 visible=(not (eq this.page 1)))
|
|
prev=(component "list-pagination/list-pager" test="prev" label="Previous page" page=(dec this.page) visible=(not (eq this.page 1)))
|
|
next=(component "list-pagination/list-pager" test="next" label="Next page" page=(inc this.page) visible=(not (eq this.page this.lastPage)))
|
|
last=(component "list-pagination/list-pager" test="last" label="Last page" page=this.lastPage visible=(not (eq this.page this.lastPage)))
|
|
pageLinks=this.pageLinks
|
|
currentPage=this.page
|
|
totalPages=this.lastPage
|
|
startsAt=this.startsAt
|
|
endsAt=this.endsAt
|
|
list=this.list
|
|
)}}
|
|
{{/if}}
|