Skip to content

Commit 1561e5a

Browse files
Remove redundant role attributes and bump package version
1 parent b698b36 commit 1561e5a

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

apps/example/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h2>Progress bar</h2>
412412
</table>
413413
</section>
414414
<div role="feed" aria-busy="false">
415-
<a role="article" href="#">
415+
<a href="#">
416416
<figure>
417417
<img
418418
src="https://picsum.photos/id/100/1280/720"
@@ -426,7 +426,7 @@ <h2>First Blog Post Title</h2>
426426
gives readers a preview...
427427
</p>
428428
</a>
429-
<a role="article" href="#">
429+
<a href="#">
430430
<figure>
431431
<img
432432
src="https://picsum.photos/id/200/1280/720"
@@ -440,7 +440,7 @@ <h2>Third Blog Post Title</h2>
440440
gives readers a preview...
441441
</p>
442442
</a>
443-
<a role="article" href="#">
443+
<a href="#">
444444
<figure>
445445
<img
446446
src="https://picsum.photos/id/151/1280/720"
@@ -454,7 +454,7 @@ <h2>Second Blog Post Title</h2>
454454
gives readers a preview...
455455
</p>
456456
</a>
457-
<a role="article" href="#">
457+
<a href="#">
458458
<figure>
459459
<img
460460
src="https://picsum.photos/id/250/1280/720"

packages/main/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "@dittmann/ui",
3-
"version": "1.0.21",
3+
"version": "1.0.22",
44
"description": "",
55
"main": "dist/index.css",
66
"scripts": {
77
"dev": "sass src/_index.scss dist/index.css --watch",
88
"build": "sass --no-source-map src/_index.scss dist/index.css",
9-
"test": "echo \"Error: no test specified\" && exit 1"
9+
"test": "echo \"Error: no test specified\" && exit 1",
10+
"prepublish": "pnpm run build"
1011
},
1112
"keywords": [],
1213
"author": "",

packages/main/src/compoments/_blog.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
}
1212

1313
article,
14-
[role="article"] {
14+
[role="article"],
15+
[role="feed"] > * {
1516
display: grid;
1617
gap: 1rem;
1718
border-width: 1px;

0 commit comments

Comments
 (0)