Fixing some stuff as suggested by @hnrch02 in pull #14154
Added aria-expanded unit tests for tabs