-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
395 lines (213 loc) · 9.7 KB
/
index.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
<!DOCTYPE html>
<html lang=en>
<head>
<!-- so meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="My name is Yan Li. I'm a Senior Software Engineer at Adobe and I like to create user experiences that matter. This is my place to share posts about web development involving Javascript, CSS, React and">
<meta property="og:type" content="website">
<meta property="og:title" content="Yan and Coffee's Blog">
<meta property="og:url" content="https://www.yanandcoffee.com/">
<meta property="og:site_name" content="Yan and Coffee's Blog">
<meta property="og:description" content="My name is Yan Li. I'm a Senior Software Engineer at Adobe and I like to create user experiences that matter. This is my place to share posts about web development involving Javascript, CSS, React and">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="Yan Li">
<meta name="twitter:card" content="summary">
<link rel="shortcut icon" href="/images/favicon.ico">
<link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<!-- title -->
<title>Yan and Coffee's Blog</title>
<!-- styles -->
<link rel="stylesheet" href="/css/style.css">
<!-- persian styles -->
<link rel="stylesheet" href="/css/rtl.css">
<!-- rss -->
<link rel="alternate" href="/atom.xml" title="Yan and Coffee's Blog" type="application/atom+xml"/>
<link rel="alternate" href="/rss.xml" title="Yan and Coffee's Blog" type="application/rss+xml"/>
<link rel="stylesheet" href="https://use.typekit.net/eum8aer.css">
<meta name="generator" content="Hexo 4.2.0"><link rel="stylesheet" href="/css/prism-a11y-dark.css" type="text/css"></head>
<body class="max-width mx-auto px3 ltr">
<div class="content index py4">
<header id="header">
<div class="flex title-wrapper">
<a href="/">
<img id="logo" width=75 heigh=75 src="/images/logo.png" />
</a>
<div>
<div id="title">
<h1><a href="/">Yan and Coffee's Blog</a></h1>
</div>
<span class="subtitle">on all things frontend related that make a better user experience</span>
</div>
</div>
<!-- <div id="nav">
<ul>
<li class="icon">
<a href="#"><i class="fas fa-bars fa-2x"></i></a>
</li>
</ul>
</div> -->
</header>
<section id="about">
<h2>About</h2>
<div class="flex">
<div>
<img class="profile-pic" src="images/circle_profile_pic.png" itemprop="image" />
</div>
<div>
<p>My name is Yan Li. I’m a Senior Software Engineer at Adobe and I like to create user experiences that matter. This is my place to share posts about web development involving Javascript, CSS, React and UI/UX.</p>
<p>
You can find me on
<a class="icon" target="_blank" rel="noopener" href="https://codepen.io/yanandcoffee">
<i class="fab fa-codepen"></i><!--
---></a><!--
---><!--
--->,
<a class="icon" target="_blank" rel="noopener" href="http://github.com/yanandcoffee">
<i class="fab fa-github"></i><!--
---></a><!--
---><!--
--->,
<a class="icon" target="_blank" rel="noopener" href="https://twitter.com/yanandcoffee">
<i class="fab fa-twitter"></i><!--
---></a><!--
---><!--
---> and
<a class="icon" target="_blank" rel="noopener" href="https://www.linkedin.com/in/yanandcoffee/">
<i class="fab fa-linkedin"></i><!--
---></a><!--
---><!--
--->.
</p>
</div>
</div>
</section>
<section id="writing">
<h2>Writing</h2>
<ul class="post-list">
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/08/10/button-vs-div/">Button vs Div for Accessibility</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-08-10T05:15:47.000Z" itemprop="datePublished">Aug 10, 2020</time>
</span>
</span>
</span>
<div class="description">
A TLDR; post on the pros/cons of using a <button> vs <div role="button">.
</div>
</li>
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/07/05/skip-links/">Creating a <SkipLinks /> Component</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-07-05T18:04:17.000Z" itemprop="datePublished">Jul 05, 2020</time>
</span>
</span>
</span>
<div class="description">
An easy, reusable solution for adding skip navigation links to all your React apps
</div>
</li>
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/06/21/accessibility-is-not-a-project-to-be-completed/">Accessibility Is Not a Project to Be Completed</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-06-21T21:00:47.000Z" itemprop="datePublished">Jun 21, 2020</time>
</span>
</span>
</span>
<div class="description">
It's more than just tickets in the backlog. You're not solving for accessibility if you treat it like a project.
</div>
</li>
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/06/06/accessible-modals-part-2/">Accessible Modals, Part 2 - Focus Trap! Key Events!</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-06-06T07:20:00.000Z" itemprop="datePublished">Jun 06, 2020</time>
</span>
</span>
</span>
<div class="description">
In this continuation, you'll learn how to create a focus trap within your dialog modal to keep track of key events that allow keyboard users to access your perfectly designed modal.
</div>
</li>
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/05/26/accessible-modals/">Accessible Modals, Part 1 - Its Issues and the Solutions</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-05-26T03:25:00.000Z" itemprop="datePublished">May 25, 2020</time>
</span>
</span>
</span>
<div class="description">
Modals are a pretty common pattern in UI/UX design, but they also come with a lot of accessibility concerns if done incorrectly. Here's how you can do it right.
</div>
</li>
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/05/08/accessible-smooth-scrolling-and-focus-management-solutions/">Accessible Navigation With Smooth Scrolling + Focus Management</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-05-08T23:31:12.000Z" itemprop="datePublished">May 08, 2020</time>
</span>
</span>
</span>
<div class="description">
Ever wonder how your users can navigate to a section smoothly and not lose their keyboard focus?
</div>
</li>
<li class="post-item">
<span class="post-title">
<a class="" href="/2020/05/07/Hi-My-Name-is-Yan/">Hi, My Name Is Yan!</a>
<span class="meta">
<span class="postdate">
<time datetime="2020-05-07T02:17:40.000Z" itemprop="datePublished">May 06, 2020</time>
</span>
</span>
</span>
</li>
</ul>
</section>
<footer id="footer">
<div class="footer-left">
Copyright ©
2020
Yan Li
</div>
<div class="footer-right">
<nav>
<ul>
</ul>
</nav>
</div>
</footer>
</div>
<!-- styles -->
<!-- jquery -->
<script src="/lib/jquery/jquery.min.js"></script>
<!-- clipboard -->
<script src="/js/main.js"></script>
<!-- search -->
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() {
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-165704155-1', 'auto');
ga('send', 'pageview');
</script>
<!-- Disqus Comments -->
<script src="https://kit.fontawesome.com/97139a15ad.js" crossorigin="anonymous"></script>
</body>
</html>