mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(toast): screen readers now announce toasts when presented (#24937)
resolves #22333
This commit is contained in:
@ -280,6 +280,8 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
||||
|
||||
return (
|
||||
<Host
|
||||
aria-live="polite"
|
||||
aria-atomic="true"
|
||||
role={role}
|
||||
tabindex="-1"
|
||||
{...this.htmlAttributes as any}
|
||||
|
||||
Reference in New Issue
Block a user