Open HellinSunWTW opened 4 months ago
There is actually a undocumented property "closeAriaLabel" that can be used to set aria-label to the close button.
<p-dialog header="Header" closeAriaLabel="Close">
Documents should be updated.
There is actually a undocumented property "closeAriaLabel" that can be used to set aria-label to the close button.
<p-dialog header="Header" closeAriaLabel="Close">
Documents should be updated.
this doesn't work with dynamic dialog. When you add the closeAriaLabel in the config it still doesn't apply it to the close button
There is actually a undocumented property "closeAriaLabel" that can be used to set aria-label to the close button.
<p-dialog header="Header" closeAriaLabel="Close">
Documents should be updated.this doesn't work with dynamic dialog. When you add the closeAriaLabel in the config it still doesn't apply it to the close button
Describe the bug
The Axe Dev Tools for Accessibility is reporting that the 'Buttons must have discernible text':
Can we have appropriate aria label like "Close the dialog" added please?
Environment
Windows 10
Reproducer
No response
Angular version
17.2.3
PrimeNG version
17.9.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response