Skip to content

fix(qr-code): escalate the error level for a logo, observe aria-label, export xlink:href - #2414

Merged
rkaraivanov merged 1 commit into
masterfrom
rkaraivanov/qr-code-fixes
Sep 30, 2026
Merged

rkaraivanov merged 1 commit into
masterfrom
rkaraivanov/qr-code-fixes

Conversation

@rkaraivanov

Copy link
Copy Markdown
Member

Description

Without error-level, the default M always applied, so a large logo shrank instead of raising the level as documented. Track whether the level was set, and escalate from M for a logo larger than its safe area.

An aria-label change alone did not update the SVG title. Observe the attribute and request an update.

SVG 1.1 consumers read only xlink:href and dropped the exported logo. Write both href and xlink:href in the export snapshot.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

Checklist

  • My code follows the project's coding standards
  • I have tested my changes locally
  • I have updated documentation if needed
  • I have added a CHANGELOG.md entry under [Unreleased]

…, export xlink:href

Without error-level, the default M always applied, so a large logo
shrank instead of raising the level as documented. Track whether the
level was set, and escalate from M for a logo larger than its safe area.

An aria-label change alone did not update the SVG title. Observe the
attribute and request an update.

SVG 1.1 consumers read only xlink:href and dropped the exported logo.
Write both href and xlink:href in the export snapshot.
Copilot AI balanced review requested due to automatic review settings September 30, 2026 14:58
@rkaraivanov rkaraivanov added the QR label Sep 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rkaraivanov
rkaraivanov merged commit 48594bb into master Sep 30, 2026
7 of 8 checks passed
@rkaraivanov
rkaraivanov deleted the rkaraivanov/qr-code-fixes branch September 30, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants