Skip to content

Conversation

@pylapp
Copy link
Member

@pylapp pylapp commented Jan 28, 2026

Related issues

#65

Description

Update accessibility traits for v1 to expose detailed button as link with Voice Over

Motivation & Context

Improve a11y and be more compliant with use of web view and web browsers to display detailed page

Types of change

  • Refactoring (non-breaking change)

Previews

Checklist

Contribution

Accessibility

Development

  • My change follows the developer guide
  • I checked my changes do not add new SwiftLint warnings
  • I have added unit tests to cover my changes (optional)

Documentation

  • My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

  • The evolution have been tested and the project builds for iPhones and iPads
  • Code review has been done by reviewers according to CODEOWNERS file
  • Design, a11Y, Q/A review have been done
  • Documentation has been updated if relevant
  • CHANGELOG has been updated respecting keep a changelog rules and reference the issues

…f `button` (#65)

Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com>
@pylapp pylapp force-pushed the release-1.x/65-the-more-details-component-should-be-a-link-instead-of-a-button branch from 79fead3 to a7343ff Compare January 28, 2026 14:53
@pylapp pylapp changed the title Use link accessibility trait for more-details-button instead of button (version 1) (#66) Use link accessibility trait for more-details-button instead of button (version 1) Jan 28, 2026
@pylapp pylapp changed the title Use link accessibility trait for more-details-button instead of button (version 1) [#65] Use link accessibility trait for more-details-button instead of button (version 1) Jan 28, 2026
@pylapp pylapp self-assigned this Jan 28, 2026
@pylapp pylapp requested a review from Copilot January 28, 2026 14:55
Copy link

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 v1 “more details” control to expose itself to VoiceOver as a link instead of a button, and documents the change in the changelog for the next release.

Changes:

  • Adjusts the accessibility traits for the “more details” control in InformationView so it is announced as a link (both for the NavigationLink and the external URL-opening Button path).
  • Adds an “Unreleased” section to the changelog, documenting the fix for issue #65.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Sources/DeclarationAccessibility/View/InformationView.swift Changes the accessibility traits of the “more details” control, removing the button trait and adding the link trait to better reflect its role for VoiceOver users.
CHANGELOG.md Introduces an Unreleased section and notes that the “more details” component is now exposed as a link instead of a button, referencing issue #65.

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

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.

1 participant