-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dom template): remove unnecessary DOM; address ellipsis feature
The scope of this commit removes the unnecessary UI and LI DOM wrappers for the menu and options elements. Implementation was breaking a11y. Commit also addresses broken ellipsis feature. Changes to be committed: modified: demo/demo.md new file: demo/partials/restrictedWidth.html modified: src/auro-menu.js modified: src/auro-menuoption.js modified: src/style-base.scss modified: src/style-menuoption.scss
- Loading branch information
1 parent
40ca97c
commit 20cf785
Showing
6 changed files
with
85 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<auro-menu style="width: 300px"> | ||
<auro-menuoption data-value="New tab">New tab</auro-menuoption> | ||
<auro-menuoption data-value="New window">New window</auro-menuoption> | ||
<auro-menuoption data-value="Open file">Open file</auro-menuoption> | ||
<auro-menuoption data-value="Open location">Open location</auro-menuoption> | ||
<hr> | ||
<auro-menuoption data-value="Close window">Close window</auro-menuoption> | ||
<auro-menuoption data-value="Close tab">Close tab</auro-menuoption> | ||
<auro-menuoption data-value="Save page as...">Save page as 'option_10_redevelopment_hover_scenario.png'</auro-menuoption> | ||
<hr> | ||
<auro-menuoption data-value="Share">Share</auro-menuoption> | ||
<hr> | ||
<auro-menuoption data-value="Print">Print</auro-menuoption> | ||
</auro-menu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters