I’m trying to add a role
to a horizontal stack container, however the output ends up having an unwanted div
around my buttons. Any advise on how I can get that tag on the actual parent of the buttons?
ah that extra div is for implementing flex gap unfortunately… if you remove the gap in your tablist element, it shouldn’t be there anymore (but you’ll have to space out your tabs by using margin on individual tabs )
Thanks @chungwu As it turns out the role on any parent resolved the A11y violation, so the code I shared already did the trick.