Forum Discussion

anubhuti14's avatar
anubhuti14
Icon for Microsoft Employee rankMicrosoft Employee
5 years ago
Solved

Keyboard focus indicator is moving on hidden control after any control on pressing TAB

Keyboard focus indicator is moving on hidden control after any control on pressing TAB key again the focus indicator moves on dialog of "Power Bi".

 

A div with embedWrapperID is created when report is used in code, and tabindex=0 in this div is letting focus lost.

 

In this embedWrapper , which is created when powerbi report is used in code, then this added tabindex=0 is letting focus lost.

 

Is there a way that this tabindex  can be edited. ?

 

 

  • Hi anubhuti14 ,

     

    The tabindex attribute actually specifies the order in which the cursor moves when the computer "Tab" key is clicked. When the computer "Tab" key is clicked, the smaller the value of the tabindex attribute (the minimum value is 0), the first the tab where it is located will be focused.

    Have you tried adding this attribute to both ‘div’ tags? And set the tabindex attribute of the child div to a smaller value.

     

    Best regards,
    Lionel Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

2 Replies

  • v-lionel-msft's avatar
    v-lionel-msft
    Icon for Community Support rankCommunity Support

    Hi anubhuti14 ,

     

    The tabindex attribute actually specifies the order in which the cursor moves when the computer "Tab" key is clicked. When the computer "Tab" key is clicked, the smaller the value of the tabindex attribute (the minimum value is 0), the first the tab where it is located will be focused.

    Have you tried adding this attribute to both ‘div’ tags? And set the tabindex attribute of the child div to a smaller value.

     

    Best regards,
    Lionel Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • anubhuti14's avatar
    anubhuti14
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi Lionel Chen,

     

    PowerBi report is added in iframe when we use it in code. And we can not add or edit these div's that are created as a part of powerbi report. So is there a way to implement this tabindex at powerbi report level ?