> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.consentmo.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Why is the Cookie bar and the buttons focused by default and how can I update the styling?

The blue outline focuses on the Cookie bar's elements is there to help users with motor impairments, which could be anything from permanent paralysis to a sprained wrist. These users operate their computer almost entirely with the keyboard or other input device. For those users, focus is critical; it's their primary means of reaching everything on the screen. For that reason, the **Web AIM** checklist states in section 2.1.1 that [all page functionality should be available using the keyboard](https://webaim.org/standards/wcag/checklist#sc2.1.1).

# How to change the styling of the focus on our Cookie bar's elements

[![](https://gdprstorage.b-cdn.net/faq/img/focus-on-close-button.png)](https://gdprstorage.b-cdn.net/faq/img/focus-on-close-button.png) 

# CSS Selector

Add the required styling in the CSS selector that we have provided below (located in the **Consent banner** tab > **Design** section.

```css
.cc-window button:focus, .cc-window a:focus, .cc-settings-dialog button:focus, .cc-settings-dialog a:focus, .cc-settings-dialog input:focus + .cc-checkbox {
{Width} {Color}
}
```

# Example with white color:

CSS Code:

```css
.cc-window button:focus, .cc-window a:focus, .cc-settings-dialog button:focus, .cc-settings-dialog a:focus, .cc-settings-dialog input:focus + .cc-checkbox {
box-shadow: 0 0 0 2px white;
 }
```

# Result:
  
[![](https://gdprstorage.b-cdn.net/faq/img/focus-on-close-button-example.png)](https://gdprstorage.b-cdn.net/faq/img/focus-on-close-button-example.png)

# Need Help

In case of difficulties or issues with styling the focus of the Cookie bar's elements, please contact us at [support@consentmo.com](mailto:support@consentmo.com) or from the Chat button at the bottom right corner of your browser.