Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurring Events "Ends" dropdown exists on the page at -1,000px #19162

Open
2 tasks
srancour opened this issue Sep 9, 2024 · 9 comments
Open
2 tasks

Recurring Events "Ends" dropdown exists on the page at -1,000px #19162

srancour opened this issue Sep 9, 2024 · 9 comments
Assignees
Labels
accessibility Issues related to accessibility Defect Something isn't working (issue type) Drupal engineering CMS team practice area Events product maintained by Public Websites team Public Websites Scrum team in the Sitewide crew sitewide

Comments

@srancour
Copy link
Contributor

srancour commented Sep 9, 2024

Statuses

[2025-01-9] [Fran] Since this is a defect, and we still own Events, we have refined it

Describe the defect

In Drupal, when an event is made to be recurring there is a dropdown for "Ends" after the "Repeat every" "Repeat" type dropdown in the DOM. On the page, the "Ends" dropdown sits at -1,000px due to a left: -1,000px; on the .form-item--field-datetime-range-timezone-0-repeat-endcss class. This makes it so anyone on a screen smaller than 2915px can't see it, but it still exists and can be tabbed to with keyboard and a screen reader user still encounters it.

To Reproduce

Steps to reproduce the behavior:

  1. Edit an event that's recurring like Music Therapy Jam Session
  2. Tab though options after "Repeat every" input and dropdown
  3. Either see focus onto "Ends" dropdown if screen size is at least 2915px wide, or see focus move onto nothing and then back on second tab.

Notes 2025-01-09

AC / Expected behavior

  • The value for Ends should be permanently set to On Date
  • When "Make recurring" is selected on the event form, the Ends field should not be readable by screen readers or visible on screen

Screenshots

Screenshot of part of the dropdown visible to the left of the screen with a green focus on it
Screenshot of the dropdown opened and on the 'After' option showing that the option to input text goes in under the 'On these days' option

Additional context

This seems to have been here for 2 years since the Recurring Events feature was completed at pull #7981. It looks like it came from a request to 'Remove "Never/After/On date" dropdown' in a comment on #7037 by @kevwalsh from 2021.

Desktop (please complete the following information if relevant, or delete)

  • Window width of at least 2915px to visually see dropdown
@srancour srancour added Defect Something isn't working (issue type) Needs refining Issue status CMS Team CMS Product team that manages both editor exp and devops labels Sep 9, 2024
@jilladams jilladams added Public Websites Scrum team in the Sitewide crew Events product maintained by Public Websites team sitewide accessibility Issues related to accessibility and removed CMS Team CMS Product team that manages both editor exp and devops labels Sep 9, 2024
@jilladams
Copy link
Contributor

@laflannery despite not knowing the destiny of Events and whether we'll update them and when / where: Steve found an a11y issue, if you would like to put a defect level on it.

@laflannery
Copy link
Contributor

laflannery commented Sep 9, 2024

@EWashb and @jilladams This is a regression I believe - This was resolved 2 years ago (almost to the day weirdly enough)

My best guess is that it might have had to do with the recent upgrade?

@srancour
Copy link
Contributor Author

srancour commented Sep 9, 2024

@laflannery if you look at the class in the code, it hasn’t changed since June of 2024 when the #7981 push happened. I also found this on prod on Friday before the update to Drupal went to prod, so I don’t think it had to do with this Drupal update. From what I could find in the linking tickets, there was that similar issue where the “All Day” checkbox was also at -1,000px, but I couldn’t find this as a bug previously found or fixed.

@jilladams
Copy link
Contributor

I got a little lost in the link sauce there, but stepping through it:

I'm not finding a comment anywhere that we were able to verify the fix on #10131, so it was prob lost in the shuffle of no Steve response.

If / when we pick this up, we will want to think through how we might be able to modify the JS to remove the All Day field as well (rather than display: none / having it present in the dom) as well as the "Ends" field, based on that PR / comments.

@FranECross FranECross added the Blocked Issues that are blocked on factors other than blocking issues. label Sep 10, 2024
@FranECross
Copy link

@laflannery @randimays Do you know if this is this still an issue with NextBuild Events, or can be closed as a no-op? Thanks.

@randimays randimays added the Drupal engineering CMS team practice area label Nov 25, 2024
@randimays
Copy link
Contributor

@FranECross This is an issue with editing events in the CMS (which is not affected by next-build), so we will still need to tackle this. Added the Drupal label to this ticket for clarity.

@FranECross FranECross removed the Blocked Issues that are blocked on factors other than blocking issues. label Nov 25, 2024
@FranECross FranECross added ghp-drafts and removed Needs refining Issue status labels Dec 4, 2024
@FranECross
Copy link

@jilladams I updated the AC and added a Notes section with today's date on it, based on your comment above. Will you review and see if the AC is correct based on your understanding? Thanks!

@jilladams
Copy link
Contributor

Took a look and updated the AC. Thanks!

@jilladams
Copy link
Contributor

Moving back to Ready to Deploy since CMS is not regularly deploying at the mo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Issues related to accessibility Defect Something isn't working (issue type) Drupal engineering CMS team practice area Events product maintained by Public Websites team Public Websites Scrum team in the Sitewide crew sitewide
Projects
None yet
Development

No branches or pull requests

6 participants