WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 5 weeks ago

#40662 assigned defect (bug)

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

Reported by: Themonic Owned by: davidakennedy
Milestone: 4.9.1 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 6 months ago.
Added preselecting of the currently opened archive page in the archives dropdown widgets #wcpl2017

Download all attachments as: .zip

Change History (11)

#1 @afercia
6 months 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 6 months ago by afercia (previous) (diff)

@robobot3000
6 months ago

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

#2 @robobot3000
6 months ago

  • Keywords has-patch added; needs-patch removed

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


6 months ago

#4 @afercia
6 months 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
5 months ago

  • Milestone changed from 4.8.1 to 4.9

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


4 months ago

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


6 weeks ago

#8 @afercia
6 weeks ago

  • Owner set to davidakennedy
  • Status changed from new to assigned

#9 @westonruter
5 weeks ago

  • Milestone changed from 4.9 to 4.9.1

This ticket was mentioned in Slack in #core by westonruter. View the logs.


5 weeks ago

Note: See TracTickets for help on using tickets.