Open paulie4 opened 6 years ago
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
tabindex="10"
tabindex="11"
ally.query.tabsequence
tabindex="2"
When I edited your example in https://allyjs.io/api/query/tabsequence.html to include
tabindex="10"
andtabindex="11"
,ally.query.tabsequence
is returning them before thetabindex="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