[object Object]

← back to Wallpaperdistributors

a11y: add rel=noreferrer to external _blank links on distributor page

e2483670c9449b3f984b8ab0642f9f54b5deec08 · 2026-05-19 08:11:29 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit e2483670c9449b3f984b8ab0642f9f54b5deec08
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue May 19 08:11:29 2026 -0700

    a11y: add rel=noreferrer to external _blank links on distributor page
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 views/distributor.ejs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/views/distributor.ejs b/views/distributor.ejs
index b6e5082..42f1757 100644
--- a/views/distributor.ejs
+++ b/views/distributor.ejs
@@ -56,9 +56,9 @@
     </div>
 
     <div class="cta-row">
-      <a class="btn-primary" href="<%= distributor.contact_url %>" target="_blank" rel="noopener">Contact <%= distributor.company %> &rarr;</a>
+      <a class="btn-primary" href="<%= distributor.contact_url %>" target="_blank" rel="noopener noreferrer">Contact <%= distributor.company %> &rarr;</a>
       <% if (distributor.website) { %>
-        <a class="btn-ghost" href="<%= distributor.website %>" target="_blank" rel="noopener">Visit website</a>
+        <a class="btn-ghost" href="<%= distributor.website %>" target="_blank" rel="noopener noreferrer">Visit website</a>
       <% } %>
       <a class="btn-ghost" href="mailto:<%= site.email %>?subject=Question%20about%20<%= encodeURIComponent(distributor.company) %>">Ask the directory</a>
     </div>

← bebb97f polish: editorial hero, distinctive 'How matches work' secti  ·  back to Wallpaperdistributors  ·  harden: ignore snapshot files + 404-guard .bak/.pre- in stat bb12e91 →