Open robdodson opened 7 years ago
Thanks Rob.. Im unfortunately unable to get to a functional desktop atm but think that if you look at the test
it('should apply to dynamically added content', ...
this would be an ideal place to make sure that removing inert doesn't leave a -1 on those dynamically added elements that default to 0
@bkardell mentioned a bug that I haven't had a chance to verify.
If you have an
ol
, where eachli
contains an anchor and a button. Inert theol
, and inject a newli
also containing an anchor and a button. When you un-inert theol
the newli
's interactive elements will still havetabindex=-1
.