Repository navigation
core, flows: drop maximum-scale=1 from viewport meta - #23261
Merged
GirlBossRush merged 1 commit intoJun 22, 2026
Merged
Conversation
The shared HTML head on flow, login, and every other in-app interface page pinned `maximum-scale=1` on the viewport meta tag. That blocks pinch-to-zoom on touch devices and overrides browser zoom for low-vision users, both of which fail WCAG 2.1 SC 1.4.4 (Resize Text) and trigger a Section 508 blocker. Two templates emit the tag: - `authentik/core/templates/base/skeleton.html`, the shared base every in-app interface (admin, user, flow, RAC, login, API browser) extends. - `authentik/flows/templates/if/flow-sfe.html`, the simple flow-executor fallback page. Both now drop `maximum-scale=1`. `user-scalable=no` was not present on either tag, so the rest of the viewport directives stay untouched. Closes #23048 Refs #22389 Co-Authored-By: Agent (authentik-i23048-given-preliminary-granite) <[email protected]>
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
BeryJu
approved these changes
Jun 22, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23261 +/- ##
==========================================
- Coverage 93.28% 93.20% -0.08%
==========================================
Files 1036 1036
Lines 60421 60421
Branches 400 400
==========================================
- Hits 56364 56318 -46
- Misses 4057 4103 +46
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
GirlBossRush
deleted the
issue-23048-web-flow-login-pages-disable-pinch-zoom
branch
June 22, 2026 16:05
Contributor
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-7689d98c7d8426e62a5419b2e7ea50ec084aa2c6
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-7689d98c7d8426e62a5419b2e7ea50ec084aa2c6Afterwards, run the upgrade commands from the latest release notes. |
kensternberg-authentik
added a commit
that referenced
this pull request
Jun 22, 2026
* main: (30 commits) core, flows: drop maximum-scale=1 from viewport meta (#23261) web: bump vite from 8.0.12 to 8.0.16 in /web (#23129) web: bump the storybook group across 1 directory with 4 updates (#23246) ci: bump actions/checkout from 6.0.3 to 7.0.0 (#23250) core: bump structlog from 25.5.0 to 26.1.0 (#23241) packages/django-dramatiq-postgres/broker: fix race condition in broker causing completed tasks to be repeated (#23218) core, web: update translations (#23237) core: bump pytest from 9.0.3 to 9.1.0 (#23238) core: bump aws-cdk-lib from 2.258.1 to 2.259.0 (#23240) core: bump goauthentik/fips-python from `9b938f7` to `cbec346` in /lifecycle/container (#23242) core: bump ruff from 0.15.17 to 0.15.18 (#23243) ci: bump int128/docker-manifest-create-action from 2.22.0 to 2.23.0 (#23244) core: bump pytest-github-actions-annotate-failures from 0.4.0 to 0.4.1 (#23245) ci: bump softprops/action-gh-release from 3.0.0 to 3.0.1 (#23247) core: bump astral-sh/uv from 0.11.22 to 0.11.23 in /lifecycle/container (#23248) ci: bump taiki-e/install-action from 2.81.11 to 2.82.0 in /.github/actions/setup (#23252) web: bump date-fns from 4.1.0 to 4.4.0 in /web (#23253) core: bump which from 8.0.3 to 8.0.4 (#23254) translate: Updates for project authentik and language ar_AA (#23255) packages/django-postgres-cache: fix naive datetime warning (#23033) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
What does this PR change?
Drops
maximum-scale=1from the viewport meta tag in the two Djangotemplates that emit it for flow and interface pages:
authentik/core/templates/base/skeleton.html, the shared base everyin-app interface (
admin,user,flow,rac,login, and the APIbrowser) extends via
{% extends "base/skeleton.html" %}.authentik/flows/templates/if/flow-sfe.html, the simple flow-executorfallback page that does not inherit from the skeleton.
Both now emit:
user-scalable=nowas not present on either tag, so nothing else neededto change.
Why is this change needed?
maximum-scale=1blocks pinch-to-zoom on touch devices and preventsbrowser zoom for low-vision users. That fails WCAG 2.1 SC 1.4.4 (Resize
Text) and is a Section 508 blocker, and an axe-core scan flags it as
meta-viewport(impact: moderate) on every flow page.The companion findings from the same audit (unlabelled identification
stage
<input>s, and anaria-requiredattribute on a<label>) aretracked under #22389 and stay out of this PR so the two efforts do not
collide.
Linked issues
Closes #23048
Refs #22389
Disclosure
Triaged and authored end-to-end by an agent running in a sandbox against
goauthentik/authentik@main.