cancel
Showing results for 
Search instead for 
Did you mean: 

access table cells using tab key with iterators

Former Member
0 Kudos

Hi,

I use a tableview with iterator and allow users to mouseclick certain column cells. I capture these user interactions using server event "onCellClick". But I cannot access these cells using tab key instead of mouse click. But tab key is a must for visibly challenged users. Is there any way to access table cells using tab keys (with iterators)?

I use icons in those cells to replace check box and change the icons to differentiate checked/unchecked status.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Do you mean using the tab key to go between cells or using the tab key to actually act as the click?

Interesting if you want the tab to work like the click. Just thinking aloud I might try using JavaScript to catch the key input event and then activating the Server event using the Javascript.

A Jaavscript running when the page loads can capture the keypress for the page and if it's a tab then activate the BSP event however you'd have to figure out how where the person was on the page when doing so.

Please do tell more this sounds very interesting!!!

Former Member
0 Kudos

Tab key will be used only to go between specific cells.

By default, hitting tab key only move the focus to successive row selection columns in a "table view control with iterator". It doesn't move to any table cells.

Table columns are defined within the iterator and not in the BSP layout in my case. So, I cannot specify the tabindex in the layout.

Former Member
0 Kudos

Interesting, I will play around in hope no one else finds a solution forward. I'll post my results tomorrow afternoon.

Former Member
0 Kudos

Have you played around with tabIndexCell = "true"??

Former Member
0 Kudos

Q: Have you played around with tabIndexCell = "true"??

A: Yes. It didn't solve. Thanks in advance for your help.

Former Member
0 Kudos

I'm still going at it, I seem to be able only, as you pointed out, to tab between rows.

Need to maybe try using CTRL or SHIFT -TAB without my "tabbed browser" to see if that does anything.

Where are the SAP people??? Come on guys help us out here.

Former Member
0 Kudos

Hey it works!!!

I just tried it on one of our systems with SP45 installed and I am tabbing between cells no problem.

What SP are you on?

Former Member
0 Kudos

We are on SP38. It might be the problem. But I like to get the confirmation from SAP people.

Thank you very much.

Former Member
0 Kudos

The only other system I had available to test on was with SP 43 and that worked as well.

Former Member
0 Kudos

Hi Craig,

Thanks for your effort.

But I was able to solve my problem. I don't think I gave all the information to simulate my problem in your environment. I used images in certain table cells and was not able to access those cells using tab key or access key. Tag <b><img></b> doesn't have the attributes <b>tabindex</b> and <b>access key</b>.

I solved the problem by surrounding the <b><img></b> by anchor tag <<b>A>,</b> which has both attributes. I did these changes within the iterator method <b>RENDER_CELL_START</b> using CL_BSP_BEE_TABLE.

In the event handling, I had to do separate processing for mouse click event and key press event for those cells.

For visibly challenged users:

They can access those cells by tab key or access key and the key press event is used to capture when they hit enter key.

So this problem is irrelevant to service packages (SP38,..).

Former Member
0 Kudos

I see.

Very interesting and inventive approach. I wasn't even thinking about images in the cell.

You should write up a weblog on this type of application it would be very interesting to read!!

Former Member
0 Kudos

If it is interesting to you, I will write a weblog.

Here, we are in a war with other developers (Java and Lotus notes).

war- who get the web developments.

So I have to impress the management with some interesting BSP applications. Above mentioned application is "leave request approval for managers". They loved the appearance and usability. I am now working on improving the "accessibilty for visible challenged users" and "same look and feel".

Former Member
0 Kudos

Look forward to reading your weblog. "Programs focusing on usablity for those with impairments" is a very interesting topic!!

Answers (0)