Skip to content

Commit

Permalink
fix: correct a11y tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Feb 28, 2020
1 parent fe38025 commit f7e54e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
4 changes: 1 addition & 3 deletions __snapshots__/Sidenav.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

```html
<nav>
<ul>
<slot></slot>
</ul>
<slot></slot>
</nav>
```

Expand Down
6 changes: 0 additions & 6 deletions packages/sidenav/src/sidenav.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,3 @@ governing permissions and limitations under the License.
700
);
}

ul {
list-style-type: none;
margin: 0;
padding: 0;
}
4 changes: 1 addition & 3 deletions packages/sidenav/src/sidenav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ export class SideNav extends Focusable {
protected render(): TemplateResult {
return html`
<nav @sidenav-select=${this.handleSelect}>
<ul>
<slot></slot>
</ul>
<slot></slot>
</nav>
`;
}
Expand Down

0 comments on commit f7e54e5

Please sign in to comment.