-
Notifications
You must be signed in to change notification settings - Fork 85
Add external link icon to Jetpack reader feed link #2247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updated the Jetpack integration to add the 'activitypub-external' class to the reader feed link, and added CSS to display a dashicon after external links. This visually indicates external links in the admin interface.
There was a problem hiding this 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 adds visual indication for external links in the Jetpack integration by applying CSS styling to display a dashicon after external links in the admin interface.
- Updated Jetpack connection check to use the modern Manager class
- Added 'activitypub-external' class to the reader feed link
- Added CSS rule to display a dashicon after elements with the 'activitypub-external' class
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
integration/class-jetpack.php | Updated Jetpack connection detection and added CSS class to reader link |
assets/css/activitypub-admin.css | Added CSS styling for external link icon |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Replaces the use of Automattic\Jetpack\Connection\Manager for checking user connection with Jetpack::is_connection_ready(). This simplifies the connection check and removes an unnecessary use statement.
The Reader link in the Jetpack integration now includes an aria-label attribute to improve accessibility for screen readers.
Removes the CSS-based external link icon and updates the Jetpack integration to use a Dashicons icon within the link markup. Improves accessibility by adding screen reader text indicating the link opens in a new tab.
Set font size and line height for dashicons within the followings table to improve visual consistency.
Updated the Jetpack integration to add the 'activitypub-external' class to the reader feed link, and added CSS to display a dashicon after external links. This visually indicates external links in the admin interface.
Proposed changes:
Other information:
Testing instructions:
Changelog entry
Changelog Entry Details
Significance
Type
Message