Friday, October 30th, 2020

Replying to a tweet from @aardrian

Then make them real pages.

Completely agree with you there!

Big modals that are basically fake web pages—even if coded accessibly—feel deceptive, lacking in material honesty.

Replying to a tweet from @aardrian

If it’s true that screen reader users expect all links to go to a new page, then are regular internal page links (that use IDs) an anti-pattern to be avoided?

e.g. Wikipedia articles with a table of contents. Fragment identifier URLs.

Wednesday, October 28th, 2020

Replying to a tweet from @craigmod

There’s the story of T.E. Lawrence losing the first manuscript of The Seven Pillars Of Wisdom on a train …though it’s more likely that the story is his version of “the dog ate my homework” because he didn’t like what he’d written.

Replying to a tweet from @rem

Well, this is a weird example but look at the output of this XML with and without the extension enabled. With the extension, you can see the JavaScript dumped to the screen.

Replying to a tweet from @rem

Ah, interesting! I had that installed until very recently too: I had to disable it when I discovered it was inserting JavaScript into every response (making debugging very difficult). We should tell the good folks at @DuckDuckGo.

Replying to a tweet from @rem

It loads for me: Firefox 82.0.1 on Mac.

Do you think maybe a browser extension might be the culprit? (I speak from bitter hair-pulling experience.)

Replying to a tweet from @Paul_Kinlan

I brainstormed that for a bit:

I’m going to apologise to Roy Fielding for even thinking it.

Tuesday, October 27th, 2020

Replying to a tweet from @wormmmoon

Can’t beat a good vinaigrette:

Replying to a tweet from @hankchizljaw

I like the fallback you get with a link (assuming it’s using a valid fragment identifier)—if anything goes screwy with the JavaScript, the link still works.

Replying to a tweet from @hankchizljaw

I’d be interested in getting your take on the logic I’m using here:

…generally you can’t go wrong with a button. … That said, I think that links can also make sense in certain situations.

Thursday, October 22nd, 2020

Replying to a tweet from @jaffathecake

Yeah, that’s fair—if I had a time machine, I’d love to go back and make cookies same-origin only.

And JavaScript!

Replying to a tweet from @jaffathecake

Yeah …spicy!

Replying to a tweet from @brianleroux

It’s that emphasis on “between origins” that gets me (though I understand the security concerns, of course). Jake’s original proposal seemed more focused on same-origin page-level transitions …which is most single page apps today.

Replying to a tweet from @jaffathecake

You’re right. I don’t have any in-depth knowledge here. I was trying to describe a proposal being incubated. I used an example. It was a bad example, I guess.

From now on I’ll just describe portals as “spicy iframes” and leave it at that.

Replying to a tweet from @jaffathecake

Jake, I’m not saying that if a technology is useful for AMP then it must be bad—see rel=”prerender”, as you say.

I was honestly, genuinely trying to give an example of where portals could be used based on the description in the explainer.

Replying to a tweet from @jaffathecake

Note that I didn’t say that portals came from AMP; I said they would help the AMP use case.

But I think I must be misunderstanding portals because it sounds to me like it would work great for the AMP top stories carousel.

Replying to a tweet from @jaffathecake

Apologies. I thought the use-case sounded a lot like AMP’s top stories:

…show another page as an inset, and then activate it to perform a seamless transition to a new state, where the formerly-inset page becomes the top-level document.

Replying to a tweet from @jaffathecake

Don’t get me wrong: it would be great if portals led to navigation transitions, but right now it looks like the focus is more on “like making an iframe go full page” e.g. an item in a news carousel on a search engine.

Replying to a tweet from @jaffathecake

My description of portals was genuine. I gave a use case (AMP) and a comparison (iframes). I didn’t pass any judgement (although I can see how just mentioning AMP implies ickiness by association).

Replying to a tweet from @paulrobertlloyd

Portals are a proposal from Google that would help their AMP use case (it would allow a web page to be pre-rendered, kind of like an iframe).