Skip to content

Conversation

@bangank36
Copy link
Contributor

What?

Address issue raised on #54179 cc: @getdave

Why?

Code tags on label causing a11y issue

How?

  • Update the label of nofollow control in LinkControl

Testing Instructions

  • Open Post Editor
  • Add new text block
  • Add a link to the text
  • Edit link
  • Toggle the opensInNewTab and nofollow
  • Check and confirm whether the rel and target attributes have been inserted correctly
Kapture.2023-09-05.at.17.19.28.mp4

Testing Instructions for Keyboard

Screenshots or screencast

Before After
image image

@bangank36 bangank36 marked this pull request as ready for review September 5, 2023 10:22
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

Warning: Type of PR label error

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Type-related labels to choose from: [Type] Accessibility (a11y), [Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core.
  • Labels found: [Type] Bug, [Type] Accessibility (a11y), [Feature] Link Editing.

Read more about Type labels in Gutenberg.

@getdave getdave added [Type] Bug An existing feature does not function as intended [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) labels Sep 5, 2023
@getdave getdave self-requested a review September 5, 2023 10:27
Copy link
Contributor

@getdave getdave left a comment

Choose a reason for hiding this comment

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

Thank you for the PR. Much appreciated.

Some tweaks needed and then we're good to go.

bangank36 and others added 3 commits September 5, 2023 17:30
Co-authored-by: Dave Smith <getdavemail@gmail.com>
Co-authored-by: Dave Smith <getdavemail@gmail.com>
Co-authored-by: Dave Smith <getdavemail@gmail.com>
Co-authored-by: Dave Smith <getdavemail@gmail.com>
Co-authored-by: Dave Smith <getdavemail@gmail.com>
@getdave
Copy link
Contributor

getdave commented Sep 5, 2023

Not sure what happened. We lost the removal of the <code> 😅

Restore origin wording
Copy link
Contributor

@getdave getdave left a comment

Choose a reason for hiding this comment

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

Ok approving on the basis of wording being:

Mark as nofollow

And tests being left "as is". I think we can revert all the changes to the test files before merging.

@bangank36
Copy link
Contributor Author

Not sure what happened. We lost the removal of the <code> 😅

First-time collaboration between us 😅

Copy link
Contributor

@alexstine alexstine left a comment

Choose a reason for hiding this comment

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

👍

@alexstine alexstine merged commit afa06f8 into WordPress:trunk Sep 6, 2023
@github-actions github-actions bot added this to the Gutenberg 16.7 milestone Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants