Closed pattonwebz closed 2 months ago
@SteveJonesDev @pattonwebz can we remove the "View on Page" action for this rule? It's never going to work so it seems like we should not offer it.
Yes, we can do that @amberhinds. @pattonwebz we'll need to do the same in the Pro plugin.
This will flag an error if user-scalable is set to 'no' or if the maximum-scale is lower than 2. It uses the axe-core
meta-viewport
rule and requires no special configuration. It already has tags so we will only need to create docs and provide a summary message before we release this.If you want to test this on a block theme like TwentyTwentyThree you will need to use an action to modify the viewport tag. You can use this one (and yes you do need a negative priority and to remove the action on wp_head inside of wp_head).