summaryrefslogtreecommitdiff
path: root/posts/2021-05-23-web-designers-please-don-t-animate-page-titles.php
blob: de746f901b536bf8f8e872f85d9915195ed4123d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<h1>Web Designers, Please Don't Animate Page Titles</h1>


<p>
	If you visit
	<a href="https://www.expressoil.com">Express Oil Change's web site</a>,
	everything seems completely ordinary until you leave the tab. That's
	when the most distracting, broken, annoying example of over-the-top web
	"design" rears its ugly head.
</p>

<p>
	I'm talking about this scrolling page title. In my tab. Constantly
	moving from right to left to show me all of the text. It's the only tab
	that's "moving" or "animated" and it doesn't stop until you return to
	the tab. It's cheesy and gaudy.
</p>

<p>
	<img src="https://nextcloud.53hor.net/index.php/s/TWDbzjiSwzHbMcz/preview" />
</p>

<p>
	And it's also broken because there are emojis in the page title and the
	title is obviously being "scrolled" by some script that's moving
	byte-by-byte, so it scrolls halfway through a multi-byte UTF-8 emoji and
	for a brief moment there's a glyph error character where a little red
	car should have been. Bad judgment and bad programming. Worse than that,
	even if it worked perfectly, it's incredibly annoying.
</p>

<p>
	<img src="https://nextcloud.53hor.net/index.php/s/TbbDnnL3jnZMT3g/preview" />
</p>

<p>
	If you bookmark the tab when it's in the middle of scrolling, you'll
	bookmark this weird slice of the text that starts or ends in the middle
	of a word or with a random emoji.
</p>

<p>
	<img src="https://nextcloud.53hor.net/index.php/s/ocQofL2Goxd3AsQ/preview" />
</p>

<p>
	Page titles changing is typically used to notify the user that their
	action is needed, such as when a file is finished uploading. In this
	case, since the text is <em>constantly changing</em>, the tab is always
	in a state of "urgency." Most annoyingly, this causes the browser to
	highlight the tab when it's pinned. Even if you click the tab and leave
	it, this notification reappears.
</p>

<p>
	<img src="https://nextcloud.53hor.net/index.php/s/AcNgR4cDxGDsWCB/preview" />
</p>

<p>
	Don't do this. Stop. Get some help. It's distracting. It's the cheesy
	"web dev" equivalent of retina scan advertising in Minority Report. Just
	make a site that works and looks half decent without slowing to a halt
	and stop there please.
</p>