Add state rule based on aria-hidden attribute