Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

the mozilla developer network says "Note that Firefox can customize the required modifier key by user's preferences." but I cant find where / how to do this.

  • 5 תגובות
  • 1 has this problem
  • 2 views
  • תגובה אחרונה מאת SteveComstock

more options

I am writing a course on coding HTML; right now testing accesskey values, and it is not working to hit Shift+Alt+accesskey;

Then the developer network says "Note that Firefox can customize the required modifier key by user's preferences." but I cant find where / how to do this.

I am writing a course on coding HTML; right now testing accesskey values, and it is not working to hit Shift+Alt+accesskey; Then the developer network says "Note that Firefox can customize the required modifier key by user's preferences." but I cant find where / how to do this.

כל התגובות (5)

more options
more options

Answer to your first question: not clear; I am using multiple tabs in my browser windwo

Based on the knowledgbase articles, I have the default / standard setting of using Alt+Shift+accesskey

My code is simple:

      <ol  accesskey="s" style="list-style-type: decimal;"         reversed>
        <li>One    </>
        <li>Two    </>
        <li>Three  </>
        <li>Four   </>
        <li>Five   </>
      </ol>

השתנתה ב־ על־ידי cor-el

more options

Arg, I forgot to escape the html; maybe

     < ol  accesskey="s" style="list-style-type: decimal;"         reversed>
              < li>One    </li>
              < li>Two    </li>
              < li>Three  </li>
              < li>Four   </li>
              < li>Five   </li>
      < / ol>

(inserting spaces to break the tag recognition)

more options

I'm not sure if this is a useful example of an access key. You normally use an access key is to activate a button or set focus to a input or text element.

What would you expect to happen with the code you posted?


<ol accesskey="s" style="list-style-type: decimal;" reversed onclick="alert('clicked')">
<li>One    </li>
<li>Two    </li>
<li>Three  </li>
</ol>
more options

I understand. I was running some simple experiments and I expected that the list would get the focus (which would require the screen to scroll down to the list) but nothing happened. So, maybe a case of great expectations for small facilities.