ally.query.tabsequence possible string comparison of tabindex
paulie4 opened this issue · comments
paulie4 commented
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