medialize / ally.js

JavaScript library to help modern web applications with accessibility concerns

Home Page:http://allyjs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ally.query.tabsequence possible string comparison of tabindex

paulie4 opened this issue · comments

When I edited your example in https://allyjs.io/api/query/tabsequence.html to include tabindex="10" and tabindex="11", ally.query.tabsequence is returning them before the tabindex="2", which makes me think that the code is possibly doing a string comparison instead of a numeric one. Here's an edited jsbin:
https://jsbin.com/pesawikine/edit?html,js,output