GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 12-Aug-2024 18:49:17 JST Aral Balkan Aral Balkan

    The `name` attribute on `a` elements is classed as “obsolete but conforming” in the #HTML spec, which is shortsighted when you consider hypermedia uses (e.g., htmx or Kitten, which extends upon htmx to provide a Streaming HTML workflow) where it is perfectly valid to use name attributes on any control that could trigger a server-side action to differentiate between elements. The id attribute does not function in the same way as it is not automatically sent to the server.

    https://dev.w3.org/html5/spec-LC/obsolete.html#obsolete-but-conforming-features

    In conversation about 11 months ago from mastodon.ar.al permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 12-Aug-2024 18:49:16 JST Aral Balkan Aral Balkan
      in reply to

      I’m pretty sure no browser would drop support for this given the widespread usage but, just in case, if anyone here is involved in the spec discussions and can propose to reverse this decision it would be helpful to the Small Web in the future.

      #SmallWeb #Kitten #HTML #htmx #hypermedia #anchor #tag #name #attribute

      In conversation about 11 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 12-Aug-2024 18:53:13 JST Aral Balkan Aral Balkan
      in reply to

      (As such, I’ve sadly had to turn off the built-in HTML validator’s no deprecated attributes rule¹ as using a `name` attribute on an anchor tag is a valid use case in Kitten’s Streaming HTML workflow² if you want to trigger an action based on link activation.)

      ¹ https://html-validate.org/rules/no-deprecated-attr.html
      ² https://kitten.small-web.org/tutorials/streaming-html/

      #Kitten #SmallWeb #HTML #validation #anchors #name #hypermedia #htmx

      In conversation about 11 months ago permalink

      Attachments


      1. No result found on File_thumbnail lookup.
        HTML-validate - Disallow usage of deprecated attributes (no-deprecated-attr)

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.