web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do we add a visual...
Power Apps
Answered

How do we add a visual focus indicator to radio button?

(0) ShareShare
ReportReport
Posted on by 6

Hello,

I am doing accessibility work on a Power App, and my team needs to add a visual focus indicator to a radio button. For the other input fields a border appears when it receives focus.

 

It should be a small border around a radio button that appears when the Tab key is pressed and keyboard focus shifts to the first radio button in a group, when the selection is changed to another radio button, the visible focus indicator should shift to the button that is now selected.

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Hi @nsoren 

     

    With a radio in Power Apps, you don't tab into the radio selections themselves, you tab into the control and then use the arrow keys to move the selection to one of the radios - as you do this the radio gets selected, which visually indicates which item you are on (also this is read out by screen readers as you use the arrows through each item)

     

    Cheers,

    Sancho

  • nsoren Profile Picture
    6 on at

    Thanks for the response, @iAm_ManCat .

     

    You're correct that Tab will shift focus to the group, and the selection is controlled by the arrow keys. That part works as expected. To meet accessibility standards we need a visual border to appear around the group (or the currently selected radio button) when a Tab press shifts keyboard focus to the group.

     

    The radio group on this app indicates the selection as a typical radio button does, but it is not indicating visually that the radio group is in keyboard focus with visual focus indicator as it does in this W3C example: https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/radio/radio-1/radio-1.html

  • Verified answer
    iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Ok, well I think this will be something that may been mis-configured for the Radios in this particular App then, as the default radio works as described:

    radio group keyboard focus border.gif

     

    Has the BorderColor, BorderThicknessFocusedBorderColor, FocusedBorderThickness and the BorderType been set appropriately?

     

    By Default the FocusedBorderColor will refer to the BorderColor of the control, so if someone has set BorderColor to Transparent (which is not the suggested way to hide borders, making the BorderThickness zero is the advised method), then the FocusedBorderColor will never show. The same will apply if the BorderType has been set to the 'None' style of border.

     

    image.png

     

    image.png

     

    image.png

     

    image.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard