• Resolved Marty Parker

    (@martyparker9745)


    What a great plugin!!! Really does the job well.

    We have some users who are sight-challenged. They can use their Smartphone to navigate to any one of our TablePress table pages, but then we need to position the cursor in the Table search box, with an empty box, in order for them to have their smartphone send the text entry for the Table search.

    Is there a practical way, such as a URL parameter, that will position the cursor in the search box and erase any existing search entry?

    Or, please suggest any other practical approach for this, please.

    Note: did not include a page, since our site is requires member login at JoelGoldsmithStreaming.com. Could provide Admin access if needed.

    Thank you very much.

    Marty Parker

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I see what you mean, but unfortunately, I can’t really think of a solution for this. Also, from everything I know, common software that can assist sight-challenged visitors can navigate to search boxes without issues, as these declare to be a search field for a specific table. Other than that, I can’t really see what could be done here, sorry 🙁

    Regards,
    Tobias

    Thread Starter Marty Parker

    (@martyparker9745)

    Hi, Tobias,

    Thank you for your prompt and considerate response, as always!

    Might it be possible to use the Extra CSS Classes or the Custom Commands sections of the table creation/editing page to add an ID tag to the Input box for that table?

    If this is possible, then that ID tag can be appended to the page URL to jump the cursor directly to the Input box, which would accomplish the purpose, for example if the ID were ID=”Numbers-Titles” then this URL would put the cursor in the input box:

    https://joelgoldsmithstreaming.com/numbers-and-titles/#Numbers-Titles

    Please let me know if that is possible for my Admin role when setting up any table?

    Thanks very much!

    Best regards,

    Marty

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I can’t really think of a way to add a HTML ID to the actual search field (right now, only the wrapping <div> has an ID, like tablepress-123_filter (where 123 is the table ID)). But even if the search field had an ID, this approach won’t work, as the field is only added via JavaScript once the page content has been loaded. That means, the field with the ID is not yet part of the page once the browser scrolls there :-/

    The best chance for this probably is a bit of JavaScript code that evaluates the hash/fragment part of the URL and then scrolls/focusses the corresponding input field.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Spech commands for Table Press’ is closed to new replies.