jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Widget Visibility: options not available when using the Accessibility mode

Open jeherve opened this issue 12 years ago • 10 comments

Steps to reproduce:

  1. Activate Jetpack and the Widget Visibility module
  2. Go to Appearance > Widgets in your dashboard
  3. Click on "Screen options"
  4. Enable the accessibility mode
  5. Click on "Edit" to edit a widget
    • The widget visibility options are nowhere to be found.

jeherve avatar Jun 09 '14 12:06 jeherve

Also reported here:

  • http://wordpress.org/support/topic/widget-visibility-dont-show-any-button?replies=5

jeherve avatar Aug 20 '14 14:08 jeherve

I'd love to get this in, but it won't fit for this release.

georgestephanis avatar Oct 01 '14 14:10 georgestephanis

I got a chance to look into this issue. and in wp-admin/widgets.php around line 185 - 299 is where the form of the widget is outputted. and there is no hook to add more functions. the only way to add this, is by using javascript, but that accessibility mode is created for non js form.

Any input how to solve this? I can help with code it.

ivankristianto avatar Dec 09 '14 00:12 ivankristianto

I think @ivankristianto is right in that there needs to be a hook in widgets.php before we can add anything in accessibility mode. Might it be worth opening a ticket on the main WordPress trac?

chrisdc avatar Jan 31 '15 16:01 chrisdc

Adding a ticket in Core makes sense if a hook is needed. Before going too deep down that path, assuming a hook in Core was present, how would we display all of the various options without JS?

kraftbj avatar Mar 30 '15 05:03 kraftbj

I feel like I must be missing something better, but the best option I can see right now would be to make the user select the rule type (category, author etc.) then click add to reload the page with a populated dropdown in place. The add and delete links could both be handled by linking back to admin/widgets.php with a custom query string, and our method could check for this in $_POST, and act accordingly before rendering the form on each reload. This would also mean saving the settings on every click of add or delete.

chrisdc avatar Apr 01 '15 22:04 chrisdc

I ran into this today. Would be great if it could be picked up for v4.1. :) By the way, the JavaScript-based rule editor is perfectly accessible to screen reader software for the visually impaired. (Arguably, so is dragging and dropping, though it's not good UX.) I can't speak for other disabilities, but completely barring JS seems a bit harsh.

dkager avatar May 21 '16 16:05 dkager

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

stale[bot] avatar Jul 07 '18 03:07 stale[bot]

The issue persists as of Jetpack 7.8

chickenn00dle avatar Oct 24 '19 21:10 chickenn00dle

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

stale[bot] avatar Apr 23 '20 06:04 stale[bot]