Page MenuHomePhabricator

In Thanks confirmation, "No" choice title text should not say "Send a thank you notification to this user"
Closed, ResolvedPublic

Description

It's okay to reuse the title text for 'Yes', but not for 'No'. Filed against core as well, since this is something jquery.confirmable could address in a simple, general way.

Event Timeline

Mattflaschen-WMF raised the priority of this task from to Needs Triage.
Mattflaschen-WMF updated the task description. (Show Details)

You can pass a buttonCallback function that would remove the title attribute from the "No" button. No changes to jquery.confirmable should be necessary.

Good point. It's not strictly required.

But just as there is general functionality for the Yes and No visible text, I think there should also be for the Yes and No title text.

This problem probably applies any time the main link uses a title attribute. Even when it doesn't, one may be useful (both for the main link and for Yes/No).

Aklapper triaged this task as Medium priority.Feb 15 2015, 9:47 PM

I'm inclined to just make it so that jquery.confirmable doesn't include title text for the default yes / no buttons, since I can't think of a scenario in which it'd be desirable for the "no" action to inherit the title text. This shouldn't result in accessibility issues, given the button label is descriptive.

gerritbot subscribed.

Change 190742 had a related patch set uploaded (by Wctaiwan):
Make jquery.confirmable not clone title text

https://gerrit.wikimedia.org/r/190742

Patch-For-Review

In the future, you should check with the assignee before starting a bug that is already assigned.

Luckily, in this case, I did not start coding yet, though I did think about it.

Sorry, I just noticed I was CC'd, figured it was a quick one line patch and didn't see that it was assigned. I'll be more careful in the future.

Sorry, I just noticed I was CC'd, figured it was a quick one line patch and didn't see that it was assigned. I'll be more careful in the future.

Thanks. No harm done.

matmarex removed a project: Patch-For-Review.
matmarex removed a subscriber: gerritbot.

Change 190742 merged by jenkins-bot:
Improve title text in jquery.confirmable

https://gerrit.wikimedia.org/r/190742

Change 191242 had a related patch set uploaded (by Mattflaschen):
Add custom title text for Yes and No Thank confirmations

https://gerrit.wikimedia.org/r/191242

Patch-For-Review

Change 191242 merged by jenkins-bot:
Add custom title text for Yes and No Thank confirmations

https://gerrit.wikimedia.org/r/191242

@DannyH This is not part of the sprint, but you can test now on Beta Labs if you want (when it's back up, that is).