Skip to content

Add High Contrast Base Map and skip link id#307

Merged
stdavis merged 3 commits intomainfrom
feat/high-contrast-basemap
Mar 30, 2026
Merged

Add High Contrast Base Map and skip link id#307
stdavis merged 3 commits intomainfrom
feat/high-contrast-basemap

Conversation

@stdavis
Copy link
Copy Markdown
Member

@stdavis stdavis commented Mar 27, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the app to support improved accessibility/navigation and map theming by adding a high-contrast basemap option and wiring up a main-content anchor target, alongside a Utah Design System dependency bump.

Changes:

  • Add “High Contrast” to the LayerSelector basemap list in the map container.
  • Add id="main-content" to the app’s <main> element to support skip-link targeting.
  • Bump @ugrc/utah-design-system from ^1.34.1 to ^1.35.0 (and update lockfile).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/components/MapContainer.tsx Extends available basemap options to include “High Contrast”.
src/App.tsx Adds a stable anchor target for skip-to-content behavior.
package.json Updates Utah Design System dependency version.
pnpm-lock.yaml Lockfile changes reflecting the dependency bump.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread src/App.tsx Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit b32daa7):
Firebase Preview: https://ut-dts-ugrc-raster-dev--feat-high-contrast-basemap-csrsit5l.web.app
(expires "2026-04-10T18:36:45.074163568Z" )

@stdavis stdavis requested a review from jacobdadams March 30, 2026 19:19
@stdavis stdavis merged commit b786353 into main Mar 30, 2026
9 checks passed
@stdavis stdavis deleted the feat/high-contrast-basemap branch March 30, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants