* Add hidden skip to content for keyboard a11y
* update green.900 value
used for button background; increases contrast ratio
* adjusts light primary to green.700 for contrast
Improves contrast ratio when paired with yellow.50 and removes browser a11y warnings
* add aria-labels
* add lang to html element
* fix improperly ordered headers
We should not be using headers (h4/h5) for these aside navigations. Updated to remove browser warnings.
* add remaining aria-label
* add aria-label for mobile menu
adds missing legacyBehavior attribute to NextLink tags to prevent nesting anchor elements which was causing hydration warnings. Also fixes 'The legacy behavior requires onClick be set on the child of next/link'
similar to existing site, using duckduckgo using the get method of a form element. Converted magnifying class wrapped in anchor tag to be a submit button instead
* expand parseHeadingId
Will produce a kebab-case heading ID from string if none explicitly declared in the markdown. Always returns an object with the children, title and headingId.
* remove redundant code from MDComponents.tsx
parseHeadingIds now always returns an object with an ID, removing need for conditionals here
* Use Box instead of flex Stack for MDX content
Allows stacked vertical margins to properly collapse into each other
* fix: h2 top margin to 3rem on mobile
* remove unneeded line
* extract and rename getKebabCaseFromName util fn
* Update src/pages/[...slug].tsx
* Update src/utils/parseHeadingId.ts
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
* move constant inside function
make variable name all caps as a string constant
* clean up utils/index.ts to abc order
Co-authored-by: Corwin Smith <cssmittys@gmail.com>