Merge pull request #4284 from JasonXJ/a11y-2

Fix a11y issues #4269
This commit is contained in:
Daniel Imms
2022-12-16 08:57:55 -08:00
committed by GitHub
3 changed files with 15 additions and 6 deletions
+2
View File
@@ -39,3 +39,5 @@ export const isIpad = platform === 'iPad';
export const isIphone = platform === 'iPhone';
export const isWindows = ['Windows', 'Win16', 'Win32', 'WinCE'].includes(platform);
export const isLinux = platform.indexOf('Linux') >= 0;
// Note that when this is true, isLinux will also be true.
export const isChromeOS = /\bCrOS\b/.test(userAgent);