w3c / cg-council

Repository to track issues and improvements with the W3C Community Groups and Business Groups program
5 stars 3 forks source link

It's impossible to link to specific sections of the CBGP #2

Open hober opened 4 years ago

hober commented 4 years ago
dbaron commented 4 years ago

It's not just the lack of IDs that makes it impossible to link to sections, it's also the tabbed UI that requires clicking on the correct tab.

dontcallmedom commented 4 years ago

I have added ids to the id-less headings I could find - let me know if I missed any.

My impression is that tabs were already correctly selected based on the target anchor, but the content was not being scrolled to, which I think I have fixed as well. Can you check whether it now works for you?

hober commented 4 years ago

I have added ids to the id-less headings I could find - let me know if I missed any.

Could you also add some kind of permalink to the heading itself, so folks can simply right click and "copy link"?

My impression is that tabs were already correctly selected based on the target anchor, but the content was not being scrolled to, which I think I have fixed as well. Can you check whether it now works for you?

It doesn't. https://www.w3.org/community/about/agreements/#meeting should select the CG tab and scroll to the "Community Group Meeting Policies" heading. It does successfully select the CG tab, but the page does not scroll at all. (I tested this in STP 108.)

dontcallmedom commented 4 years ago

I have added the clickable permalink anchors to the headings.

With regard to tab selection and scrolling, it seems to work both in Firefox and Chrome; I'll try debugging it with Safari but since I can only use browserstack for that, I don't know how successful I'll be.

hober commented 4 years ago

Having re-tested, it does select the CG tab, but it doesn't scroll to the meetings heading.