Skip to content

Localization: Supply the display name to the localization key for the alt and title attributes of the 2FA QR code image#20770

Merged
AndyButland merged 1 commit intoumbraco:mainfrom
warrenbuckley:fix/supply-2FA-name-to-localization-key
Nov 9, 2025
Merged

Localization: Supply the display name to the localization key for the alt and title attributes of the 2FA QR code image#20770
AndyButland merged 1 commit intoumbraco:mainfrom
warrenbuckley:fix/supply-2FA-name-to-localization-key

Conversation

@warrenbuckley
Copy link
Contributor

Fix

A very simple fix to supply the display name to the localization key for the 2FA QR Code Image

Prerequisites

  • I have added steps to test this contribution in the description below

Description

The quickest way to test is to install 2FA package into the Umbraco site. Saves you setting up a MFA provider and the extension manifest yourself

dotnet add package Umbraco.Community.User2FA --version 1.0.2

Before

image

After

image

Copilot AI review requested due to automatic review settings November 7, 2025 15:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the accessibility and user experience of the MFA (Multi-Factor Authentication) QR code by adding the provider's display name as a parameter to the localization terms for the alt and title attributes of the QR code image.

  • Updated alt and title attributes to include the provider display name for better context
  • Changed from generic localization keys to parameterized versions

Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

Nice, thanks @warrenbuckley for spotting and fixing this.

@AndyButland AndyButland changed the title Simple fix to supply the display name to the localization key for the… Localization: Supply the display name to the localization key for the alt and title attributes of the 2FA QR code image Nov 9, 2025
@AndyButland AndyButland merged commit aae316e into umbraco:main Nov 9, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants