Jump to content

How get rid of the black rectangle on lockscreen password page?

Recommended Posts

Hi, There is an ugly black rectangle on the lockscreen which we don't appear to have any chance of removing or changing colour in Design/Lockscreen options. I have changed all colours to white or mid grey, tried password styles in both rectangle and underline. Nothing gets rid of it.

It shows up on the real page in browsers, but not on Edit page while in Squarespace. Any ideas please?



Link to comment
  • Replies 2
  • Created
  • Last Reply
3 hours ago, Sarah-W said:

There is an ugly black rectangle on the lockscreen which we don't appear to have any chance of removing or changing colour

This "focus outline" is one of a number of accessibility improvements that Squarespace made to 7.1 recently to improve site navigation for visitors with vision and movement disabilities. On forms, they have added a contrasting black or white outline to the area of the page that has focus. On a Lock Screen, this is usually the password box.

Removing focus outlines can create issues for people navigating the web with a keyboard, and isn't recommended. In some territories, there are legal stipulations for accessibility so removing accessibility features may cause legal issues for the website owner.

If you do not like the default style that Squarespace applied (a thick white or black box) then there are a couple of accessible-friendly options available:

  • Style the focus outline to make it slightly less obtrusive and match your design.
  • Style the password element itself to make it stand out so that you can remove the focus outline from this control. If you choose this approach, it's wise to use several means to determine the focus, not just colour, to help visitors with color blindness. If you've tried this approach, you can remove the focus outline by adding something like this to Settings > Advanced > Code Injection > Lock Page
.sqs-slide-wrapper[data-slide-type="lock-screen"] .password-input.focus-visible {

   If a post helps you, please click a "Like" option below  ↘️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.