How to Remove a White Border Around Buttons on Windows
Question details
The user wants to eliminate an unwanted white outline that appears around clickable UI elements like lock and search buttons on their computer.

- Product
- Windows OS
- Device & OS
- Windows 10 and Windows 11
- Scenario
- Navigating the Windows interface, using system apps, or browsing where buttons continuously display a white highlighted border.
- Observed behavior
- A persistent white border or outline surrounds buttons, often triggered by system accessibility features, keyboard focus settings, or high contrast modes.
Verify whether your computer is running Windows 10 or Windows 11, as the exact settings menu paths may vary slightly. It is also helpful to take a screenshot of the issue to determine if the border appears system-wide or is isolated to a specific web browser.
Disable Keyboard Focus and Accessibility Visual Effects
Use this solution if the white border appears when you click or hover over buttons, which is typically caused by Windows visual accessibility indicators.
Windows includes built-in accessibility features designed to help users identify which interface element is currently active. While useful for keyboard navigation, these focus indicators can leave a permanent white box or border around buttons if misconfigured.
Click the Start menu and select the 'Settings' gear icon, or press the Windows Key + I on your keyboard.
In the Settings menu, click on 'Accessibility' (or 'Ease of Access' if you are using an older version of Windows 10).
Look for the 'Visual effects' or 'Keyboard' section. Locate the setting for 'Focus indicator' or 'Make it easier to see keyboard focus' and toggle it off to remove the white borders.

Turn Off Contrast Themes
High contrast themes can force system buttons to have distinct white or bright borders to improve readability. Disable this feature to restore standard button appearances.
Check Browser-Specific Focus Settings
If the white border only appears on buttons while browsing the internet, the issue stems from your web browser rather than Windows itself.
Enjoy a Clean, Distraction-Free Workspace with WPS Office
If you are resolving Windows display issues to improve your computer's visual experience, consider upgrading your productivity suite as well. WPS Office offers a sleek, modern, and highly customizable interface that is completely free and seamlessly compatible with Microsoft Office formats.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for the Windows version.
- 2. Run the Setup: Open the downloaded executable file and follow the simple on-screen prompts to install the suite.
- 3. Start Creating: Launch WPS Office and immediately open or edit your existing Microsoft Office documents without worrying about formatting loss.

Frequently Asked Questions
Why does a white box appear around icons on my Windows desktop?
A white box or dotted line around desktop icons usually indicates that the icon has keyboard focus. You can remove it by simply clicking on an empty space on your desktop, pressing the 'Esc' key, or refreshing the desktop by pressing F5.
Will disabling keyboard focus indicators affect my ability to use Windows?
Disabling focus indicators will not prevent you from using your computer normally. However, if you rely heavily on navigating Windows using the Tab key instead of a mouse, it may make it harder to see which element is currently selected.
How do I identify if my computer is running Windows 10 or Windows 11?
You can check your Windows version by pressing the Windows Key + R, typing 'winver' into the Run dialog, and pressing Enter. A window will appear displaying your exact Windows operating system version.
Can outdated graphics drivers cause weird outlines around buttons?
Yes, while less common than accessibility settings, outdated or corrupted display drivers can cause graphical glitches including artifacts around UI elements. You can update your drivers via the Device Manager under 'Display adapters'.




