Skip to content

Commit

Permalink
Details about blank/empty content (MicrosoftEdge#853)
Browse files Browse the repository at this point in the history
* Update explainer.md

adds a bullet to specify what happens if the content is blank or empty

* Update explainer.md
  • Loading branch information
diekus authored Aug 20, 2024
1 parent 3f3006b commit 2cd01ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DocumentSubtitle/explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To fix this situation, we require a bucket to store this contextual information.
## Use Cases
This will allow developers 2 cases for the standard title bar.
1. Installed web apps that only have the app’s name as define in the manifest file.
* Useful to replicate some native experiences that only have the app’s name in the title bar (This is the default behaviour for web apps that do not specify the app-title meta tag or define it through the JS API).
* Useful to replicate some native experiences that only have the app’s name in the title bar (This is the default behaviour for web apps that do not specify the app-title meta tag or set the content to a blank or empty string).
2. Installed Web Apps that have the app’s name and a app-title or detail as defined in the document’s meta tag.
* Useful for apps that can have multiple instances running with several documents open, such as word processors.

Expand All @@ -44,7 +44,6 @@ As defined in the [HTML specification](https://html.spec.whatwg.org/multipage/se

`<meta name="app-title" content="additional/secondary text to go in the title bar">`


The following image is a mockup of a PWA using the `app-title` meta-tag.

![image of twitter installed web app with a long text in the title bar](webAppTitleBar2.png)
Expand All @@ -53,6 +52,8 @@ This is achieved by adding the following meta tag in the head of the page:

`<meta name="app-title" content="Direct Messages">`



## Privacy and Security Considerations

The TAG privacy and security self-review is located [here](https://docs.google.com/document/d/1CwYQEf98fI5z96Y6AsQdSafp70SD5STgepD5Z8cx1HQ/edit?usp=sharing).
Expand Down

0 comments on commit 2cd01ce

Please sign in to comment.