-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(material/dialog): dialog name on mac only using aria-label #29264
base: main
Are you sure you want to change the base?
Commits on Jul 30, 2024
-
fix(material/dialog): dialog name on mac only using aria-label
Fixes bug with Angular Components Dialog component on Mac whether using Chrome or Firefox the screenreader does not read the dialog name/title unless it is using an aria-label. Updates the dialog-content-directives to read/apply the aria- labelledby and aria-describedby values if they exist. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 613ffb5 - Browse repository at this point
Copy the full SHA 613ffb5View commit details -
fix(material/dialog): macOS dialog title not read in chrome and firefox
Fixes issue with Angular Components Dialog component where VoiceOver does not read the dialog name if the dialog is supposed to be read by aria-labelledby or aria-describedby attributes. Updates dialog-container.ts so that the aria-labelledby or aria-described by value (if any) is used as an aria-label value. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for efed398 - Browse repository at this point
Copy the full SHA efed398View commit details -
fix(material/dialog): dialog name not read on macOS chrome & firefox
Fixes Angular Components Dialog component where the dialog name is not read by VoiceOver/screenreader on macOS chrome & firefox browsers. Attempts to retrieve any id associated with aria-labelledby or aria-describedby and taking the innerHTML or the aria-label of that element and applying that value to the dialog's aria-label. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for adf6587 - Browse repository at this point
Copy the full SHA adf6587View commit details -
fix(material/dialog): dialog name not read by screenreader on mac chr…
…ome or firefox Fixes bug in Angular Components Dialog component where the aria-labelledby and aria-describedby values are not being read by Chrome or Firefox when using a mac. This checks if there is an html attribute of aria-labelledby or aria-describedby and grabs the innerText or aria-label value and uses that value as the aria-label for the dialog only on mac using chrome or firefox. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for ed78aff - Browse repository at this point
Copy the full SHA ed78affView commit details -
fix(material/dialog): dialog name not read by mac screenreader on chr…
…ome and firefox Fixes Angular Components Dialog component where the mac screenreader is not reading the associated aria-labelledby id value as the dialog name/title. Fixes logic checking for macos so that the function_getDialogName() gets called when the value of the arialabelledby id element gets inserted into the aria-label value. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 5c5e362 - Browse repository at this point
Copy the full SHA 5c5e362View commit details -
fix(material/dialog): dialog name not read by sr on mac chrome & firefox
Cleans up fix for Angular Component Dialog component's fix to update the dialog aria-label if the user's OS is a mac since mac using a chrome or firefox browser the screenreader does NOT read the dialog name if the value is portrayed by aria-labelledby or aria-describedby. Cleaned up console logs and unused attributes. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 9394f17 - Browse repository at this point
Copy the full SHA 9394f17View commit details -
refactor(material/dialog): dialog name not read by sr on mac with chr…
…ome or firefox Cleans up unused variables and comments. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 629c535 - Browse repository at this point
Copy the full SHA 629c535View commit details -
refactor(cdk/dialog): dialog name not read by sr for mac on chrome & …
…firefox Removes test console logs from CDK dialog-container.ts. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 6f63583 - Browse repository at this point
Copy the full SHA 6f63583View commit details -
fix(material/dialog): dialog name not read by screenreader on macos u…
…sing chrome or firefox Updates fix for Angular Components Dialog issue where the dialog name is not being read by the screenreader when specifically using macos (and potentially ios) screenreader when using chrome or firefox browsers. Removes unused commented out code and includes ios as part of the logic to call _getDialogName(). Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 9ddba9c - Browse repository at this point
Copy the full SHA 9ddba9cView commit details -
fix(material/dialog): dialog name not read by screenreader on mac chr…
…ome or firefox Adds console.log tests to check new additions to Platform CDK which will be used for dialog name fix instead of previous logic. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 1b8ba9c - Browse repository at this point
Copy the full SHA 1b8ba9cView commit details -
fix(material/dialog): dialog name not read by sr on mac chrome or fir…
…efox Updates previous fix adding Windows and Linux checks to Platform CDK and replaces windows.navigator.userAgent with using Platform CDK check. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for b1e6950 - Browse repository at this point
Copy the full SHA b1e6950View commit details -
fix(material/dialog): make reviewer suggested changes
Updates fix for Angular Components Dialog component to revert previous changes to aria-describedBy value to what it previously was to not upgrade its value to aria-label. Fixes _getDialogName function to return a string which gets applied to the ariaLabel config value. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for b19aa71 - Browse repository at this point
Copy the full SHA b19aa71View commit details -
refactor(material/dialog): make suggested PR changes
Updates previous fix to Angular Components Dialog component to remove unnecessary to our fix platform checks for WINDOWS and LINUX. Simplifies logic to check for platform in material/ dialog-container. Fixes b/274674581
Configuration menu - View commit details
-
Copy full SHA for 89e1de1 - Browse repository at this point
Copy the full SHA 89e1de1View commit details -
refactor(material/dialog): fix lint errors
Updates previous fix and removes unused import to fix lint error.
Configuration menu - View commit details
-
Copy full SHA for 0535924 - Browse repository at this point
Copy the full SHA 0535924View commit details -
refactor(material/dialog): updates prioritization order of aria-label…
… adoption Updates to put aria-labelledby values as the priority and the aria-label as the backup.
Configuration menu - View commit details
-
Copy full SHA for dfc42ff - Browse repository at this point
Copy the full SHA dfc42ffView commit details