[Web] "learn more" buttons break history / back-button #49138

Closed
opened 2016-08-22 13:40:42 +02:00 by Sybren A. Stüvel · 4 comments

The triplet-card buttons on the front page use window.location.replace(...), which actively prevents the use of the back button.

Another thing: we might want to use <a> tags for links as much as possible. This allows search engines like Google to actually understand the structure of the pages, and follow links. Let's just use <a href='...'>LEARN MORE</a> instead of <span class="triplet-cta">LEARN MORE</span>.

The `triplet-card` buttons on the front page use `window.location.replace(...)`, which [actively prevents the use of the back button](https://developer.mozilla.org/en-US/docs/Web/API/Location/replace). Another thing: we might want to use `<a>` tags for links as much as possible. This allows search engines like Google to actually understand the structure of the pages, and follow links. Let's just use `<a href='...'>LEARN MORE</a>` instead of `<span class="triplet-cta">LEARN MORE</span>`.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscribers: @dr.sybren, @pablovazquez, @fsiddi

Added subscribers: @dr.sybren, @pablovazquez, @fsiddi
Sybren A. Stüvel was assigned by Francesco Siddi 2016-08-23 11:28:12 +02:00

This issue was referenced by 9d1181330b

This issue was referenced by 9d1181330bfabc14f82c40dadbb1998759cce1ea

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: archive/pillar#49138
No description provided.