Results 1 to 2 of 2

Thread: Accessing triggers via keyboard

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2015
    Posts
    9

    Question Answered: Accessing triggers via keyboard

    Hi everybody,

    I want to know how to create a simple Textfield containing multiple Triggers that can be accessed via keyboard.

    Similar to this example (https://fiddle.sencha.com/#fiddle/1a40) I want to build a Textfield that contains one or more trigger-items.
    Are there any possibilities to include the triggers in the tab-flow to be focussed and to trigger the handle-method using the keyboard?

    I already read your accessibility blog post "The keyboard is Your Friend" - but there are no helpful informations about this problem.

  2. Hi Robert,

    We had an internal discussion about this back in the day, and ultimately decided that text field triggers should only be used for pointer/touch interaction, and possibly as visual cues. If you have some custom functionality available in your text fields, it's better to allocate a shortcut key to it rather than make trigger tabbable.

    Tabbable triggers are not as straighforward to implement as it might seem, and have many disadvantages accessibility wise.

  3. #2
    Sencha - Ext JS Dev Team nohuhu's Avatar
    Join Date
    Jun 2011
    Location
    Redwood coast
    Posts
    402
    Answers
    26

    Default

    Hi Robert,

    We had an internal discussion about this back in the day, and ultimately decided that text field triggers should only be used for pointer/touch interaction, and possibly as visual cues. If you have some custom functionality available in your text fields, it's better to allocate a shortcut key to it rather than make trigger tabbable.

    Tabbable triggers are not as straighforward to implement as it might seem, and have many disadvantages accessibility wise.
    Regards,
    Alex.

Similar Threads

  1. Android Keyboard do not hide after texbox blur and number keyboard issue.
    By manishprajapati in forum Sencha Touch 2.x: Discussion
    Replies: 2
    Last Post: 11 Oct 2013, 8:00 PM
  2. [INFOREQ] Android Keyboard do not hide after texbox blur and number keyboard issue.
    By manishprajapati in forum Sencha Touch 2.x: Bugs
    Replies: 0
    Last Post: 8 Oct 2013, 9:29 PM
  3. Tab Keyboard, Keyboard Shortcut for 508 section
    By khoivu4477 in forum Community Discussion
    Replies: 8
    Last Post: 31 Jul 2013, 7:07 AM
  4. numberfield iOS keyboard vs Android keyboard
    By klaus777 in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 26 Jul 2012, 4:57 AM
  5. Replies: 4
    Last Post: 16 Feb 2012, 2:36 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •