wordpress-mobile / AztecEditor-iOS

A reusable native iOS visual HTML text editor component.
Mozilla Public License 2.0
606 stars 146 forks source link

Unable to determinate toolbar button status programatically #837

Open brbrr opened 6 years ago

brbrr commented 6 years ago

For automated tests (and for VoiceOver users) we need to be able to check toolbar status programmatically. For this, we can change expand button label to reflect it's status i.e. formatToolbarButton && formatToolbarButtonExpanded

Also, toolbar expand button don't have an accessibility selector, which makes it hard to locate.

diegoreymendez commented 6 years ago

@brbrr - Changing the "Enhancement" label since the idea of that one is to use it for user-facing changes.