MaskedTextBox sets both placeholder and aria-placeholder

1 Answer 4 Views
Accessibility MaskedTextBox
Vlad
Top achievements
Rank 1
Vlad asked on 14 Jan 2026, 06:03 PM

When using "Placeholder" prop in MaskedTextBox resulting html element has both attributes - placeholder and aria-placeholder.
Some a11y testing tools (SortSite) consider that a violation because it creates ambiguity.
Is there work around ?  Textbox control for example doesn't do that.

Here is the sample code to replicate the issue - https://blazorrepl.telerik.com/cquvvSvB57YqxQRz33

1 Answer, 1 is accepted

Sort by
0
Hristian Stefanov
Telerik team
answered on 15 Jan 2026, 12:40 PM

Hi Vlad,

I can confirm that the presence of both placeholder and aria-placeholder is redundant for the tool, but not an accessibility violation. Screen readers ignore aria-placeholder when a native placeholder exists, which is why famous tools like Axe and WAVE do not report this as an issue, and a conflicting announcement cannot happen. This is considered a SortSite false positive/best-practice warning, as that tool is being overly strict.

Regards,
Hristian Stefanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Accessibility MaskedTextBox
Asked by
Vlad
Top achievements
Rank 1
Answers by
Hristian Stefanov
Telerik team
Share this question
or