Skip to content

Remove redundant adjacent repository links in profile project headings#2

Merged
zhimin-z merged 2 commits into
mainfrom
copilot/remove-redundant-links
Apr 16, 2026
Merged

Remove redundant adjacent repository links in profile project headings#2
zhimin-z merged 2 commits into
mainfrom
copilot/remove-redundant-links

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

Project headings in the org profile README linked to the same repository twice in adjacent elements (name + badge), creating redundant navigation targets and duplicated link announcements for assistive tech. This update keeps a single link target per project heading while preserving badge visuals.

  • What changed

    • Updated profile/README.md project headings for:
      • AutoHarness
      • nano-code
      • awesome-spec-driven-development
    • Kept the project name as the only clickable repository link.
    • Converted the adjacent repo badge from linked image to plain image.
  • Accessibility impact

    • Removes duplicated adjacent links to the same URL.
    • Reduces repeated link text output in screen readers for each project row.
  • Representative diff pattern

-### [AutoHarness](https://github.com/Engineering4AI/AutoHarness) [![AutoHarness](https://img.shields.io/badge/Repo-AutoHarness-blue?style=for-the-badge)](https://github.com/Engineering4AI/AutoHarness)
+### [AutoHarness](https://github.com/Engineering4AI/AutoHarness) ![AutoHarness](https://img.shields.io/badge/Repo-AutoHarness-blue?style=for-the-badge)

@zhimin-z zhimin-z marked this pull request as ready for review April 16, 2026 16:49
Copilot AI review requested due to automatic review settings April 16, 2026 16:49
Copy link
Copy Markdown

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

Removes redundant adjacent links in the org profile README project headings by keeping the repository link on the project name and converting the repo badge from a linked image to a plain image, improving navigation and reducing duplicate link announcements for assistive tech.

Changes:

  • Updated project headings for AutoHarness, nano-code, and awesome-spec-driven-development to remove the badge link.
  • Preserved the badge visuals while making only the project name a clickable repository link.

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

Comment thread profile/README.md Outdated
## ⚙️ Projects in This Organization

### [AutoHarness](https://github.com/Engineering4AI/AutoHarness) [![AutoHarness](https://img.shields.io/badge/Repo-AutoHarness-blue?style=for-the-badge)](https://github.com/Engineering4AI/AutoHarness)
### [AutoHarness](https://github.com/Engineering4AI/AutoHarness) ![AutoHarness](https://img.shields.io/badge/Repo-AutoHarness-blue?style=for-the-badge)
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The badge image alt text repeats the linked project name, so screen readers will still announce the name twice (link text, then image alt). If the badge is decorative, consider using an empty alt text (![](...)); otherwise use a more descriptive alt like "Repo badge" to avoid duplicating the repository name.

Copilot uses AI. Check for mistakes.
Comment thread profile/README.md Outdated
A self-evolving coding agent in Rust with a minimal implementation that is designed to actually run and iterate.

### [nano-code](https://github.com/Engineering4AI/nano-code) [![nano-code](https://img.shields.io/badge/Repo-nano--code-orange?style=for-the-badge)](https://github.com/Engineering4AI/nano-code)
### [nano-code](https://github.com/Engineering4AI/nano-code) ![nano-code](https://img.shields.io/badge/Repo-nano--code-orange?style=for-the-badge)
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The badge image alt text repeats the linked project name, so screen readers will still announce the name twice (link text, then image alt). If the badge is decorative, consider using an empty alt text (![](...)); otherwise use a more descriptive alt like "Repo badge" to avoid duplicating the repository name.

Suggested change
### [nano-code](https://github.com/Engineering4AI/nano-code) ![nano-code](https://img.shields.io/badge/Repo-nano--code-orange?style=for-the-badge)
### [nano-code](https://github.com/Engineering4AI/nano-code) ![](https://img.shields.io/badge/Repo-nano--code-orange?style=for-the-badge)

Copilot uses AI. Check for mistakes.
Comment thread profile/README.md Outdated
A tiny Rust coding agent that demonstrates the smallest practical architecture for automated code changes.

### [awesome-spec-driven-development](https://github.com/Engineering4AI/awesome-spec-driven-development) [![awesome-spec-driven-development](https://img.shields.io/badge/Repo-awesome--spec--driven--development-green?style=for-the-badge)](https://github.com/Engineering4AI/awesome-spec-driven-development)
### [awesome-spec-driven-development](https://github.com/Engineering4AI/awesome-spec-driven-development) ![awesome-spec-driven-development](https://img.shields.io/badge/Repo-awesome--spec--driven--development-green?style=for-the-badge)
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The badge image alt text repeats the linked project name, so screen readers will still announce the name twice (link text, then image alt). If the badge is decorative, consider using an empty alt text (![](...)); otherwise use a more descriptive alt like "Repo badge" to avoid duplicating the repository name.

Suggested change
### [awesome-spec-driven-development](https://github.com/Engineering4AI/awesome-spec-driven-development) ![awesome-spec-driven-development](https://img.shields.io/badge/Repo-awesome--spec--driven--development-green?style=for-the-badge)
### [awesome-spec-driven-development](https://github.com/Engineering4AI/awesome-spec-driven-development) ![](https://img.shields.io/badge/Repo-awesome--spec--driven--development-green?style=for-the-badge)

Copilot uses AI. Check for mistakes.
@zhimin-z
Copy link
Copy Markdown
Contributor

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor

@zhimin-z zhimin-z left a comment

Choose a reason for hiding this comment

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

btw, why does the org page does now show the content of this readme at all? this is not expected

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 16, 2026

@copilot apply changes based on the comments in this thread

Applied in ed98f48: updated the three project badge images in profile/README.md to decorative alt text (![](...)) so screen readers don’t announce duplicated project names.

Screenshot: Updated README rendering

Copy link
Copy Markdown
Contributor

@zhimin-z zhimin-z left a comment

Choose a reason for hiding this comment

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

I expect all the content in the .github/profile/readme.md shows up in the main page of current org, but it does not happen, what's wrong?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 16, 2026

btw, why does the org page does now show the content of this readme at all? this is not expected

ed98f48 only changes image alt text in profile/README.md; it doesn’t affect whether the org profile README is loaded. The screenshot you shared is showing raw Markdown text (not GitHub’s rendered org profile view), which is why it looks unrendered. The org page source is still present at profile/README.md and should render on https://github.com/Engineering4AI.

@zhimin-z zhimin-z merged commit 7d6c07a into main Apr 16, 2026
1 check failed
@zhimin-z zhimin-z deleted the copilot/remove-redundant-links branch April 16, 2026 17:00
Copilot stopped work on behalf of zhimin-z due to an error April 16, 2026 17:01
Copilot AI requested a review from zhimin-z April 16, 2026 17:01
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