-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Disallow emails to have a <title> #22318
Comments
This makes sense. Do you have any data on if such a change would break existing email publishers? I'm concerned as this is a pretty common tag and may be injected by various bits of html composing software. If needed, we can do this in two phases, first a validator warning and then an email. |
@ampproject/wg-caching as this would be a validation change. |
I think a validator warning makes sense for starters. I'll see if we can reach out to existing ESPs to verify if they may be adding this tag inadvertently. |
If we have email with link to web version? Let me know |
Hello @fstanis (I work for an Email Service Provider) |
Could you clarify more about this? I don't think emails in AMP format (i.e.
Two things to keep in mind:
|
Hello @fstanis |
When I refer to the web version of an email I'm talking about the link version of the email itself, which lets user to open the email in a browser window, in case user has problem viewing email inside the email inbox. |
Understood, in that case, email providers should use the email subject as the title, rather than the title provided, otherwise we'd have inconsistency both with HTML emails and with how emails are rendered in the inbox (where the subject is used as title) and standalone window. |
As a quick update, the |
ok |
I think there is a possible good use case for keeping the From my understanding the I ran some simple tests using Voice Over on Mac and it did indeed pick up the |
Following on from my previous point, I guess this comes down to who should be responsible for defining the title. The email clients could add a title as a |
Interesting find, thanks Mark! While there are good reasons for an iframe to have a title, I don't think this is one of them, as it would lead to a more confusing UX, since non-AMP emails don't have this extra "layer" (Voice Over goes directly into the email content). Therefore IMHO the best option from an accessibility is to not expose this iframe to the user anyway, since it's there for technical reasons only. I think this can be achieved by adding |
That's a good thought @fstanis I guess that would mean, as email senders we should treat the email content as if it were part of the page. So for example avoid using a |
Very interesting point. I guess broadly speaking, the question is whether individual emails are (1) separate documents or (2) articles inside one document. If it's the former, having an additional |
Opened ampproject/wg-amp4email#20 to discuss this, as this is a bigger topic than |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
The AMP4EMAIL format currently allows the
<title>
tag to be in<head>
. However, this has no effect on emails, since they use a different mechanism to specify the subject and the title is never surfaced to the user in email clients.Since this already caused some confusion with users, I propose we disallow the
<title>
tag in AMP validator rules for AMP4EMAIL.The text was updated successfully, but these errors were encountered: