Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Issue Menu button is not a button #1234 #1400

Closed
wants to merge 1 commit into from

Conversation

faisal1025
Copy link

The issue has been fixed the menu button is now focusable on pressing tab from the keyboard.
The menu button is focusable from the keyboard by pressing the Tab button.
Screenshot (1)
We can open the options from the keyboard by pressing Enter button
Screenshot (2)

Copy link
Member

@sabderemane sabderemane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @faisal1025 , thank you for your contribution! ✨
Can you also provide screenshots before and after your changes ?
I feel like the style you applied it's not taken in consideration as there are a border around the menu with is not the case currently.

@@ -12,7 +12,7 @@ define([
init: function(){
var self = this;
self.menu.addClass('nav-menu-on');
self.button = $('<div class="menu-button"><i class="icon icon-reorder"></i><span>Menu</span></div>');
self.button = $('<div class="menu-button"><button class="icon icon-reorder" style="background-color: transparent; color: white; border: none;"></button><span>Menu</span></div>');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style should be on the css file corresponding to the element (_style.scss) and not inline like this

@sabderemane
Copy link
Member

Closed by #1418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants