WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 2 weeks ago

#40662 new defect (bug)

Archive widget doesn't show the selected month name in the frontend widget itself

Reported by: Themonic Owned by:
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Widgets Keywords: has-screenshots has-patch
Focuses: ui, accessibility, javascript Cc:

Description

Archive widget doesn't show the selected month name like the category widget shows the selected category name, although the widget works fine it always show "Select Month". Tested with Twenty Seventeen and several other themes.

Attachments (1)

40662.diff (5.2 KB) - added by robobot3000 3 weeks ago.
Added preselecting of the currently opened archive page in the archives dropdown widgets #wcpl2017

Download all attachments as: .zip

Change History (6)

#1 @afercia
3 weeks ago

  • Keywords has-screenshots needs-patch added
  • Version 4.7.4 deleted

Confirmed, when both widgets are set to "Display as dropdown".

Screenshots to illustrate what happens after selecting a category/archive month and page reloads. Worth noting these selects have other accessibility issues (they should not use the change event and have a button to submit) but they should be addressed in a separate ticket. Also, they don't have a no-js fallback.

the selected category is preserved:

https://cldup.com/ZnofclMmaH.png

the selected month isn't:

https://cldup.com/8PztTWbt4I.png

Last edited 3 weeks ago by afercia (previous) (diff)

@robobot3000
3 weeks ago

Added preselecting of the currently opened archive page in the archives dropdown widgets #wcpl2017

#2 @robobot3000
3 weeks ago

  • Keywords has-patch added; needs-patch removed

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


2 weeks ago

#4 @afercia
2 weeks ago

  • Milestone changed from Awaiting Review to 4.8.1

Thanks @robobot3000 ! And hello #wcpl2017! Yep, needs to take care of all the cases, yearly/monthly/weekly/daily/. Looks good!

#5 @westonruter
2 weeks ago

  • Milestone changed from 4.8.1 to 4.9
Note: See TracTickets for help on using tickets.