The way ui_tabs works atm, the rendered HTML does not comply with accessibility standards.
To fix this we would need to replace the <ul> with a <div role="tablist"> and instead of nesting the buttons inside <li>s they would need to be the direct children of the div and have a role="tab" set.