Skip to content

Commit 51d4749

Browse files
committed
refactor: 📝 Security issues in docs
1 parent 984f584 commit 51d4749

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docdash-template/tmpl/layout.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</head>
3939
<body>
4040
<!-- Google Tag Manager (noscript) -->
41-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WGP99J7" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
41+
<noscript><iframe title="Google Tag Manager" src="https://www.googletagmanager.com/ns.html?id=GTM-WGP99J7" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4242
<!-- End Google Tag Manager (noscript) -->
4343

4444
<input type="checkbox" id="nav-trigger" class="nav-trigger" />

docdash-template/tmpl/params.tmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@
5858
});
5959
?>
6060

61-
<table class="params">
61+
<table class="params" aria-describedby="params">
6262
<thead>
6363
<tr>
6464
<?js if (params.hasName) {?>
65-
<th>Name</th>
65+
<th id="name">Name</th>
6666
<?js } ?>
6767

68-
<th>Type</th>
68+
<th id="type">Type</th>
6969

7070
<?js if (params.hasAttributes) {?>
71-
<th>Attributes</th>
71+
<th id="attributes">Attributes</th>
7272
<?js } ?>
7373

7474
<?js if (params.hasDefault) {?>
75-
<th>Default</th>
75+
<th id="default">Default</th>
7676
<?js } ?>
7777

7878
<th class="last">Description</th>

docdash-template/tmpl/properties.tmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@
3838
});
3939
?>
4040

41-
<table class="props">
41+
<table class="props" aria-describedby="props">
4242
<thead>
4343
<tr>
4444
<?js if (props.hasName) {?>
45-
<th>Name</th>
45+
<th id="name">Name</th>
4646
<?js } ?>
4747

48-
<th>Type</th>
48+
<th id="type">Type</th>
4949

5050
<?js if (props.hasAttributes) {?>
51-
<th>Attributes</th>
51+
<th id="attributes">Attributes</th>
5252
<?js } ?>
5353

5454
<?js if (props.hasDefault) {?>
55-
<th>Default</th>
55+
<th id="default">Default</th>
5656
<?js } ?>
5757

5858
<th class="last">Description</th>

0 commit comments

Comments
 (0)