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

D8CORE-4667: change to full month from an abbreviation #82

Merged
merged 2 commits into from Sep 1, 2021

Conversation

jenbreese
Copy link
Contributor

@jenbreese jenbreese commented Aug 23, 2021

READY FOR REVIEW

Summary

  • in a screen reader only tag, I changed the abbreviated month to the full month.

Review By (Date)

  • 8/28

Criticality

  • Med
  • Events module

Urgency

  • Normal
  • Accessibility fix

Review Tasks

Setup tasks and/or behavior to test

  1. Check out this branch
  2. Rebuild Cache and import config drush cr ; drush ci
  3. Navigate to the Events list page
  4. Verify that the <div class="sr-only"> has the full month and not an abbreviation. Look at single day and multi-day event.
  5. What it was:

image
7. What it should be:
8.
image

Site Configuration Sync

  • Is there a config:export in this PR that changes the config sync directory? : NO

Front End Validation

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided? eg (unit, behat, or codeception)

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

Affected Projects or Products

  • Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

Resources

@pookmish
Copy link
Contributor

I'm wondering... why do we need to have something for the screen reader on this part. We are basically duplicating the information that is already available.
@cjwest should we just remove this sr-only piece to reduce duplicated information?

@cjwest
Copy link
Member

cjwest commented Aug 30, 2021

@pookmish,
Yes, we could do it that way as well.

@jenbreese
Copy link
Contributor Author

@cjwest @pookmish Ok, I removed the sr-only and tested on Voiceover. I could still hear the date from the block of content. Thanks!

Copy link
Contributor

@pookmish pookmish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. less complications 😄

@pookmish pookmish enabled auto-merge (squash) September 1, 2021 16:40
@pookmish pookmish merged commit cdb79e9 into 8.x-1.x Sep 1, 2021
@pookmish pookmish deleted the D8CORE-4667 branch September 1, 2021 16:48
pookmish added a commit that referenced this pull request Sep 3, 2021
- D8CORE-3161: reduce load more button size (#83)
- D8CORE-4643: updating the skip links and moving to one filter by menu (#80)
- D8CORE-4667: Removed duplicate date read out for screen readers.  (#82)
- D8CORE-4186: removing pipe if not neeeded (#81)
- D8CORE-2520: date labeling for Events (#79)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants