Closed nruffing closed 3 months ago
plugin-pwa replaces the viewport meta element forces user-scalable=no to be set. https://github.com/vuepress/ecosystem/blob/3bddc56a1d33707fc2e50674bb2ba678de53fc1b/plugins/plugin-pwa/src/node/injectLinksToHead.ts#L89C64-L89C80
plugin-pwa
viewport
user-scalable=no
Is there a reason we needed to do this? It violates the WCAG standard to not disable zoom and scaling features of the browser for low vision users.
https://dequeuniversity.com/rules/axe/4.8/meta-viewport?application=AxeChrome https://www.boia.org/blog/web-accessibility-tips-dont-disable-zooming-yes-even-on-mobile
https://datagridvue.com/
pnpm
NA
An app usually does not allow users to zoom.
But yes, we can add this dynamically when running in a pwa while allowing web pages
Description
plugin-pwa
replaces theviewport
meta element forcesuser-scalable=no
to be set. https://github.com/vuepress/ecosystem/blob/3bddc56a1d33707fc2e50674bb2ba678de53fc1b/plugins/plugin-pwa/src/node/injectLinksToHead.ts#L89C64-L89C80Is there a reason we needed to do this? It violates the WCAG standard to not disable zoom and scaling features of the browser for low vision users.
https://dequeuniversity.com/rules/axe/4.8/meta-viewport?application=AxeChrome https://www.boia.org/blog/web-accessibility-tips-dont-disable-zooming-yes-even-on-mobile
Reproduction
https://datagridvue.com/
Used Package Manager
pnpm
System Info