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

Include date in title tag of calendar events #411

Closed
mcking65 opened this issue Jul 5, 2023 · 5 comments
Closed

Include date in title tag of calendar events #411

mcking65 opened this issue Jul 5, 2023 · 5 comments
Assignees
Labels
accessibility website Issues related to the W3C website

Comments

@mcking65
Copy link

mcking65 commented Jul 5, 2023

Describe the issue

When you open the page for an instance of a repeating event, the title of the page does not include the date. So, if you open two different instances, both browser tabs have the same title.

To reproduce

  1. Go to calendar.
  2. Open the page for the instance of a repeating event that occurs on DateX in a new browser tab
  3. Open the page for the instance of the same repeating event that occurs on DateY.
  4. The two browser tabs have identical titles even though they are for different event instances.

Expected behavior

The title tag for an event instance page should have form:

<title>
date | event-name | calendar | w3c
</title>

Screenshots
If applicable, add screenshots to help explain your problem.
N/A

Additional context

This issue affects accessibility. It takes additional time for screen reader users to find the information on a page that uniquely identifies it.

@mcking65 mcking65 added the website Issues related to the W3C website label Jul 5, 2023
@LJWatson
Copy link

Given the general propensity for people to have lots of tabs open simultaneously, I'm surprised this isn't a usability problem for everyone? @mcking65 you're right though, that the task of locating the date is noticeably more arduous for screen reader users than for others, so appending the meeting date to the title would definitely help.

@jean-gui
Copy link

<title>
date | event-name | calendar | w3c
</title>

This can certainly be implemented. A few questions though:

  1. What time zone should be used for the date, the one of the event, UTC, or the one from the user agent?
  2. By "calendar", do you mean the string "calendar", or something related to a group calendar (for example "Verifiable Credentials Working Group Calendar")? The latter can't be done because a event can be tied to several groups.
  3. Should we also include the status (draft, tentative, confirmed, canceled) . If yes, where?

@mcking65
Copy link
Author

mcking65 commented Jul 31, 2023

@jean-gui asked:

This can certainly be implemented. A few questions though:

  1. What time zone should be used for the date, the one of the event, UTC, or the one from the user agent?

The date in the title should match the date of the event that is shown to the user in the page content.

BTW, I think date is sufficient; I don't think time is necessary. I believe it is extremely rare that there are two events with the same name on the same day. Including the time would make the title string much longer without adding effective utility.

  1. By "calendar", do you mean the string "calendar", or something related to a group calendar (for example "Verifiable Credentials Working Group Calendar")? The latter can't be done because a event can be tied to several groups.

The string "Calendar".

  1. Should we also include the status (draft, tentative, confirmed, canceled) . If yes, where?

I don't think so as that is not a part of the path of the page in the IA of the W3C site. A primary purpose of the title is to inform the user which page is displayed in the tab of the browser. This is also especially helpful when reviewing browser history.

@jean-gui
Copy link

jean-gui commented Aug 2, 2023

Thanks @mcking65, I've implemented your proposal.

@jean-gui jean-gui closed this as completed Aug 2, 2023
@mcking65
Copy link
Author

mcking65 commented Aug 7, 2023

@jean-gui, thank you thank you for this improvement! It is a huge help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility website Issues related to the W3C website
Projects
None yet
Development

No branches or pull requests

4 participants