Using semantically correct HTML should not be a per-case consideration. One might argue if a screenreader user would ever want to rotate an image - but why hindering that task?

  • Replace empty href link with button
  • Move given title attribute to button text
  • Add class to allow CSS tweaks (thus making it possible to place the UTF8 character ↻ in a ::before element)
  • Add feedback
  • Change wording in settings form (decision is about the rotate function, not the icon)
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tobiasb created an issue. See original summary.

hexabinaer’s picture

Issue summary: View changes
hexabinaer’s picture

Issue summary: View changes
hexabinaer’s picture

Issue summary: View changes
tobiasb’s picture

Issue tags: -a11y +Accessibility
tobiasb’s picture

Assigned: tobiasb » Unassigned
Status: Active » Needs review
StatusFileSize
new5.1 KB
mrshowerman’s picture

Status: Needs review » Needs work

+1 for this change.

There is a typo in the settings form description (missing comma), and the text could be optimised a little:

If checked, a button to rotate the image will appear next to each image.

atul_ghate made their first commit to this issue’s fork.

atul_ghate’s picture

Status: Needs work » Needs review
mrshowerman’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

kohanserhiy made their first commit to this issue’s fork.

tobiasb changed the visibility of the branch 3476687-alternative_button to hidden.

  • afagioli committed a0e19359 on 2.3.x
    Refactor image rotate: replace link with button (#3476687), add...
afagioli’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.