-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy path.markbot.yml
55 lines (51 loc) · 1.37 KB
/
.markbot.yml
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
repo: "type-those-grids"
canvasCourse: "web-design-1"
inherit:
- naming-restrict-live
- git-2
- html
- css
- border-box
- google-fonts
html:
- path: "index.html"
has:
- check: 'link[href*="Merriweather"]'
message: "The Google Font, `Merriweather` (regular, italic) is missing"
- "h1"
- "h2"
- "p"
- "dl"
- "dl > dt"
- "dl > dd"
- "figure"
- "figure > img + figcaption"
- 'header[role="banner"]'
- 'main[role="main"]'
hasNot:
- "img:not([alt])"
- check: 'img[alt=""]:not([role="presentation"]):not([aria-details])'
message: 'Is this image an important part of the content? If so it needs a descriptive `alt=""` attribute or the `aria-details` attribute. If it’s only for presentation add the attribute `role="presentation"`'
search:
- "The Seven Wonders of the Ancient World"
- "Temple of Artemis"
- "Selçuk, Turkey"
- "Colossus of Rhodes"
- "Rhodes, Greece"
- "Gardens of Babylon"
- "Temple of Artemis"
css:
- path: "css/main.css"
has:
- ["html", "font-family", "Merriweather, serif"]
- ["html", "line-height", "1.5"]
search:
- "grid-template-columns"
- "grid-template-areas"
- "gap"
- "1fr"
- "grid-area"
- "align-self"
screenshots:
- path: "index.html"
sizes: [1000]