Skip to content

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

Closed
faisal1025 wants to merge 1 commit intodjango:mainfrom
faisal1025:main
Closed

Fixed Issue Menu button is not a button #1234#1400
faisal1025 wants to merge 1 commit intodjango:mainfrom
faisal1025:main

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.

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