diff --git a/src/App/config.tsx b/src/App/config.tsx index 80162783..7f5c6e21 100644 --- a/src/App/config.tsx +++ b/src/App/config.tsx @@ -12,28 +12,28 @@ export const config: Config = { { name: 'github', display: 'GitHub', - aria: 'GitHub profile (opens in new window)', + ariaLabel: 'GitHub profile (opens in new window)', icon: , href: 'https://github.com/adamalston/', }, { name: 'linked-in', display: 'LinkedIn', - aria: 'LinkedIn profile (opens in new window)', + ariaLabel: 'LinkedIn profile (opens in new window)', icon: , href: 'https://www.linkedin.com/in/adam-alston/', }, { name: 'resume', display: 'Resume', - aria: 'Resume in Google Drive (opens in new window)', + ariaLabel: 'Resume in Google Drive (opens in new window)', icon: , href: 'https://drive.google.com/file/d/1VQ_Oeim_e92QEMi64ejGWY5Hf4RRxfeJ/view', }, { name: 'email', display: 'Email', - aria: 'Email contact (opens in new window)', + ariaLabel: 'Email contact (opens in new window)', icon: , href: 'mailto:aalston9@gmail.com', }, diff --git a/src/appearance/themes.ts b/src/appearance/themes.ts index 3ab757bf..1bf6f127 100644 --- a/src/appearance/themes.ts +++ b/src/appearance/themes.ts @@ -1,7 +1,7 @@ import { Themes } from 'types'; // Enhance contrast by using white and black text with reduced opacity over -// colored backgrounds instead of grey. +// colored backgrounds instead of gray. // https://m2.material.io/design/color/text-legibility.html#text-backgrounds export const themes: Themes = { dark: { diff --git a/src/components/Buttons.tsx b/src/components/Buttons.tsx index 904bcc8d..8f126520 100644 --- a/src/components/Buttons.tsx +++ b/src/components/Buttons.tsx @@ -93,12 +93,12 @@ export const Buttons = () => { return ( - {config.buttons.map(({ name, display, aria, icon, href }) => ( + {config.buttons.map(({ name, display, ariaLabel, icon, href }) => (