Skip to content

frontend: Fix CPU resources & Memory Resources headers#259

Merged
skoeva merged 1 commit into
Azure:mainfrom
vyncent-t:fix-compute-quota-headers
Feb 18, 2026
Merged

frontend: Fix CPU resources & Memory Resources headers#259
skoeva merged 1 commit into
Azure:mainfrom
vyncent-t:fix-compute-quota-headers

Conversation

@vyncent-t
Copy link
Copy Markdown
Collaborator

@vyncent-t vyncent-t commented Feb 17, 2026

Description

This PR fixes a collection of a11y issues identified by Lighthouse where headings were not in sequential order for the Create AKS Project workflow "Compute Quota" tab.

The ResourceCard component is used for sub categories "CPU Resources" and "Memory Resource" on the "Compute Quota" tab of the Create AKS Project workflow. Both of the sub categories lack a proper semantic header order. This PR introduces a fix for both of these issues by adding a component prop to the titles.

Related Issues

Related to #219

Changes Made

  • Fixes Lighthouse scans flagged as the following:
    "Heading elements are not in a sequentially-descending order"

"Properly ordered headings that do not skip levels convey the semantic structure of the page, making it easier to navigate and understand when using assistive technologies."

How to test:

  • Navigate to the Projects tab
  • Click the "+ Create Projects" button
  • Click "AKS Managed Project" option
  • Continue progress into "Compute Quota" tab
  • Use inspect tools and open Lighthouse
  • Scan at this view

Images

image image

@vyncent-t vyncent-t self-assigned this Feb 17, 2026
Copilot AI review requested due to automatic review settings February 17, 2026 16:33
@vyncent-t vyncent-t added the a11y a11y related issues label Feb 17, 2026
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 fixes accessibility issues related to heading hierarchy on the Create AKS Project workflow's "Compute Quota" tab. The changes ensure heading elements follow a sequentially-descending order, improving navigation for users relying on assistive technologies.

Changes:

  • Added component="h3" prop to Typography elements in ResourceCard to establish proper semantic heading structure
  • Resolves Lighthouse accessibility warnings about non-sequential heading order

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@skoeva skoeva left a comment

Choose a reason for hiding this comment

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

see #257 (review)

I also think for continued work on fixing these headers, they could all be committed in the same PR since they are all small & related changes

@vyncent-t
Copy link
Copy Markdown
Collaborator Author

see #257 (review)

I also think for continued work on fixing these headers, they could all be committed in the same PR since they are all small & related changes

As per the audit effort, each of the issues sourced in #219 are individual wrongs that need correcting. They also require an organized paper trail, complete with sufficient testing instructions and a direct resolution.

Plus, most of these issues are rooted in their own workflow, so the "how to test" section for a combined PR would be massive.

I have already grouped together fixes that share a common workflow / view ( #246 and #259) to reduce review workload

@skoeva
Copy link
Copy Markdown
Collaborator

skoeva commented Feb 18, 2026

I think running lighthouse locally should be good enough to test - but also since these are all in-line changes related entirely to a11y we could probably group them together under that umbrella to merge all at once

@vyncent-t vyncent-t requested review from illume and sniok February 18, 2026 15:17
@skoeva skoeva merged commit 08c8af9 into Azure:main Feb 18, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y a11y related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Project Compute Quota Tab: Fix heading element for "Memory Resources" New Project Compute Quota Tab: Fix heading element for "CPU Resources"

4 participants