- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2023 10:48 AM
I am working on a custom service portal page. How do I change the tab sequence order? I have never had a requirement like this before and I haven't landed anything useful on google. The portal page is not your typical "sp" landing but customized landing page.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2023 01:49 PM
To change the tab sequence order on a custom service portal page, you will need to modify the HTML code of the page. Here are the general steps:
Locate the HTML element that you want to change the tab sequence order for. This can be an input field, a button, a link, etc.
Add the tabindex attribute to the HTML element. The tabindex attribute specifies the order in which elements are focused when the user presses the Tab key.
Set the value of the tabindex attribute to the desired tab sequence order. Elements with a lower tabindex value will be focused first, followed by elements with a higher tabindex value.
For example, if you want to change the tab sequence order of an input field to be the second element to be focused, you would add the tabindex attribute and set its value to 2, like this:
<input type="text" tabindex="2" />
Repeat this process for each element that you want to change the tab sequence order for.
Keep in mind that changing the tab sequence order may impact the accessibility of your service portal page, so it's important to test the page thoroughly to ensure it meets accessibility standards.
Please mark my answer correct/helpful in case it adds value and moves you a step closer to your desired ServiceNow solution goal.
Thanks,
Punit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2023 01:49 PM
To change the tab sequence order on a custom service portal page, you will need to modify the HTML code of the page. Here are the general steps:
Locate the HTML element that you want to change the tab sequence order for. This can be an input field, a button, a link, etc.
Add the tabindex attribute to the HTML element. The tabindex attribute specifies the order in which elements are focused when the user presses the Tab key.
Set the value of the tabindex attribute to the desired tab sequence order. Elements with a lower tabindex value will be focused first, followed by elements with a higher tabindex value.
For example, if you want to change the tab sequence order of an input field to be the second element to be focused, you would add the tabindex attribute and set its value to 2, like this:
<input type="text" tabindex="2" />
Repeat this process for each element that you want to change the tab sequence order for.
Keep in mind that changing the tab sequence order may impact the accessibility of your service portal page, so it's important to test the page thoroughly to ensure it meets accessibility standards.
Please mark my answer correct/helpful in case it adds value and moves you a step closer to your desired ServiceNow solution goal.
Thanks,
Punit