Skip to content

feat: add setAriaTypeName method for Fields#10154

Open
mikeharv wants to merge 2 commits into
RaspberryPiFoundation:mainfrom
mikeharv:setAriaTypeName
Open

feat: add setAriaTypeName method for Fields#10154
mikeharv wants to merge 2 commits into
RaspberryPiFoundation:mainfrom
mikeharv:setAriaTypeName

Conversation

@mikeharv

@mikeharv mikeharv commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes

Proposed Changes

This adds a setter for Field.ariaTypeName, which is protected.

Reason for Changes

Previously, it was only possible to set ariaTypeName by passing a string for it as part of the Field constructor's config parameter.

Test Coverage

Added a new test to confirm that the custom type name shows up in the computed aria label.

Documentation

Additional Information

@mikeharv
mikeharv requested a review from a team as a code owner July 17, 2026 16:47
@mikeharv
mikeharv requested a review from maribethb July 17, 2026 16:47
@github-actions github-actions Bot added the PR: feature Adds a feature label Jul 17, 2026
@github-actions github-actions Bot added PR: feature Adds a feature and removed PR: feature Adds a feature labels Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants