Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Is there any way on Mastodon to automatically filter out image posts with no alt text?

Is there any way on Mastodon to automatically filter out image posts with no alt text?

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
38 Indlæg 30 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • unixwitch@social.tchncs.deU unixwitch@social.tchncs.de

    @sortius @cryptids

    There are browser plugins to directly show the alt text and color code, if it is missing.

    For Firefox and Chrome:
    https://nickdenardis.com/2023/01/14/social-visual-alt-text-mastodon/

    sortius@infosec.exchangeS This user is from outside of this forum
    sortius@infosec.exchangeS This user is from outside of this forum
    sortius@infosec.exchange
    wrote sidst redigeret af
    #11

    @unixwitch @cryptids yeh, look, default Mastodon does that, that's not the problem. Unless you can make our brains not fart, this advice is useless

    1 Reply Last reply
    0
    • cryptids@yip.gayC cryptids@yip.gay

      Is there any way on Mastodon to automatically filter out image posts with no alt text?

      Please boost- this is an actual question

      naturemc@mastodon.onlineN This user is from outside of this forum
      naturemc@mastodon.onlineN This user is from outside of this forum
      naturemc@mastodon.online
      wrote sidst redigeret af
      #12

      @cryptids perhaps @FediTips has an idea?

      1 Reply Last reply
      0
      • cryptids@yip.gayC cryptids@yip.gay

        Is there any way on Mastodon to automatically filter out image posts with no alt text?

        Please boost- this is an actual question

        mwenisch@mastodon.cesko.digitalM This user is from outside of this forum
        mwenisch@mastodon.cesko.digitalM This user is from outside of this forum
        mwenisch@mastodon.cesko.digital
        wrote sidst redigeret af
        #13

        @cryptids I did a quick fork of Phanpy (web client) that hides posts with images without alt text.

        It's on the client side:
        https://github.com/cheeaun/phanpy/compare/main...martinwenisch:phanpy:main

        I wonder if this would be an option. It'll be hard to push it to the upstream, as it's out of their scope. But if enough people would use it, I'd polish it with a settings switch and try.

        Deployment of the changes here:
        https://phanpy.muhu.digital

        1 Reply Last reply
        0
        • sortius@infosec.exchangeS sortius@infosec.exchange

          @cryptids would love to know, because I'm personally done with accidentally boosting non-alt posts.

          I hate retracting a boost, but my ethics say: no alt, no boost

          nightdice@unfug.socialN This user is from outside of this forum
          nightdice@unfug.socialN This user is from outside of this forum
          nightdice@unfug.social
          wrote sidst redigeret af
          #14

          @sortius
          I know some apps have a setting to show a warning before boosting media without alt text, but so far I'm unaware of an option to completely filter them out
          @cryptids

          sortius@infosec.exchangeS 1 Reply Last reply
          0
          • nightdice@unfug.socialN nightdice@unfug.social

            @sortius
            I know some apps have a setting to show a warning before boosting media without alt text, but so far I'm unaware of an option to completely filter them out
            @cryptids

            sortius@infosec.exchangeS This user is from outside of this forum
            sortius@infosec.exchangeS This user is from outside of this forum
            sortius@infosec.exchange
            wrote sidst redigeret af
            #15

            @nightdice @cryptids yeh, but... web page mostly here, like many of us

            nightdice@unfug.socialN 1 Reply Last reply
            0
            • sortius@infosec.exchangeS sortius@infosec.exchange

              @nightdice @cryptids yeh, but... web page mostly here, like many of us

              nightdice@unfug.socialN This user is from outside of this forum
              nightdice@unfug.socialN This user is from outside of this forum
              nightdice@unfug.social
              wrote sidst redigeret af
              #16

              @sortius
              kinda figured, just wanted to put the info out there in case. Hopefully someone knows a decent workaround at least.
              @cryptids

              1 Reply Last reply
              0
              • cryptids@yip.gayC cryptids@yip.gay

                Is there any way on Mastodon to automatically filter out image posts with no alt text?

                Please boost- this is an actual question

                lily@ice.floofy.cityL This user is from outside of this forum
                lily@ice.floofy.cityL This user is from outside of this forum
                lily@ice.floofy.city
                wrote sidst redigeret af
                #17
                @cryptids on the web app you can use ublock filters to do this
                1 Reply Last reply
                0
                • cryptids@yip.gayC cryptids@yip.gay

                  Is there any way on Mastodon to automatically filter out image posts with no alt text?

                  Please boost- this is an actual question

                  js@mastodon.nlJ This user is from outside of this forum
                  js@mastodon.nlJ This user is from outside of this forum
                  js@mastodon.nl
                  wrote sidst redigeret af
                  #18

                  @cryptids A good question.

                  One can choose to be forced to provide ALT. Might be a client thing.

                  One small(?) thing: I’ve also noticed clients tend to offer slop-service generated ALT text. I however do prefer no ALT over confabulated slop. The null string beats the abomination.

                  1 Reply Last reply
                  0
                  • samerion@mastodon.gamedev.placeS samerion@mastodon.gamedev.place

                    @cryptids Some instances, like mastodon.art, have CSS set up that puts a warning frame around media without alt text. Maybe it could be set up on your instance, or with a browser plugin? Plus, I suppose adblock for a more "nuclear" option..

                    heinragas@mublog.nlH This user is from outside of this forum
                    heinragas@mublog.nlH This user is from outside of this forum
                    heinragas@mublog.nl
                    wrote sidst redigeret af
                    #19

                    @samerion @cryptids Yes, I have that CSS set up on my instance. Here it is:

                    .media-gallery__item-thumbnail img:not([alt]), .audio-player__canvas:not([title]), .video-player video:not([title]), .media-gallery__gifv video:not([title]), .media-gallery__item-thumbnail img[alt=""], .audio-player__canvas[title=""], .video-player video[title=""], .media-gallery__gifv video[title=""] {border: 2px dashed rgba(251, 47, 47, 0.5);box-sizing: border-box;}

                    heinragas@mublog.nlH 1 Reply Last reply
                    0
                    • heinragas@mublog.nlH heinragas@mublog.nl

                      @samerion @cryptids Yes, I have that CSS set up on my instance. Here it is:

                      .media-gallery__item-thumbnail img:not([alt]), .audio-player__canvas:not([title]), .video-player video:not([title]), .media-gallery__gifv video:not([title]), .media-gallery__item-thumbnail img[alt=""], .audio-player__canvas[title=""], .video-player video[title=""], .media-gallery__gifv video[title=""] {border: 2px dashed rgba(251, 47, 47, 0.5);box-sizing: border-box;}

                      heinragas@mublog.nlH This user is from outside of this forum
                      heinragas@mublog.nlH This user is from outside of this forum
                      heinragas@mublog.nl
                      wrote sidst redigeret af
                      #20

                      @samerion @cryptids This only draws the red dashed border around the image. But with a bit of tweaking you could use this to hide the container of the toot itself. If you are not the instance maintainer, then you could ask them, or you would have to inject that CSS in some other way, like with a browser extension.

                      The toot will still be in the HTML, so I don't know how screen readers would process that (if that is the reason for hiding those toots).

                      1 Reply Last reply
                      0
                      • cryptids@yip.gayC cryptids@yip.gay

                        Is there any way on Mastodon to automatically filter out image posts with no alt text?

                        Please boost- this is an actual question

                        jpoesen@social.jpoesen.comJ This user is from outside of this forum
                        jpoesen@social.jpoesen.comJ This user is from outside of this forum
                        jpoesen@social.jpoesen.com
                        wrote sidst redigeret af
                        #21

                        @cryptids I don't think so, but an alternative solution is to use a browser extension like TamperMonkey that lets you inject css and/or javascript into any site.

                        If you were to set up a basic TamperMonkey script for the site(s) in question, the following will hide every post that has an image without alt text, or no alt attribute at all.

                        ```
                        GM_addStyle('
                        article:has(img[alt=""]),
                        article:has(img:not([alt])) {
                        display: none;
                        }
                        ');
                        ```

                        See also: https://www.freecodecamp.org/news/customize-website-experience-with-tampermonkey/

                        1 Reply Last reply
                        0
                        • cryptids@yip.gayC cryptids@yip.gay

                          @det Yeah I did some looking into it and all I could find was a uBlock filter for it (and an old feature request thread on Github) 😕

                          Shame, I guess I'll just resort to muting people or something

                          u0421793@catodon.rocksU This user is from outside of this forum
                          u0421793@catodon.rocksU This user is from outside of this forum
                          u0421793@catodon.rocks
                          wrote sidst redigeret af
                          #22

                          @cryptids@yip.gay @det@critter.cafe on the flipside, however, I’m trying out this new instance of catodon for a while, and I note that if one tries to post an image without bothering to fill in at least something in the alt text, it has a special leg that reaches out and boots you in the crotch.

                          [offstage whisper]

                          Oh wait, not a boot, it politely tells you to do your alt text you bastard

                          [offstage whisper again]

                          No bastard. It just tells you to do the alt text.

                          josgeluk@mastodon.nlJ det@critter.cafeD 2 Replies Last reply
                          0
                          • cryptids@yip.gayC cryptids@yip.gay

                            @det Yeah I did some looking into it and all I could find was a uBlock filter for it (and an old feature request thread on Github) 😕

                            Shame, I guess I'll just resort to muting people or something

                            luna@neopaquita.esL This user is from outside of this forum
                            luna@neopaquita.esL This user is from outside of this forum
                            luna@neopaquita.es
                            wrote sidst redigeret af
                            #23

                            @cryptids Can you please share the filter?

                            1 Reply Last reply
                            0
                            • cryptids@yip.gayC cryptids@yip.gay

                              Is there any way on Mastodon to automatically filter out image posts with no alt text?

                              Please boost- this is an actual question

                              0@corteximplant.com0 This user is from outside of this forum
                              0@corteximplant.com0 This user is from outside of this forum
                              0@corteximplant.com
                              wrote sidst redigeret af
                              #24

                              @cryptids moshidon is a mobile client that can do it. unfortunately mouse doesn't know a similar thing for desktop

                              1 Reply Last reply
                              0
                              • cryptids@yip.gayC cryptids@yip.gay

                                Is there any way on Mastodon to automatically filter out image posts with no alt text?

                                Please boost- this is an actual question

                                leon@social.sawpitgully.netL This user is from outside of this forum
                                leon@social.sawpitgully.netL This user is from outside of this forum
                                leon@social.sawpitgully.net
                                wrote sidst redigeret af
                                #25
                                @cryptids I think @alice has said she has a tool for filtering out images without alt text, but I had trouble searching her posts, so the best I found was this. https://lgbtqia.space/@alice/116200750952476282
                                alice@lgbtqia.spaceA 1 Reply Last reply
                                0
                                • cryptids@yip.gayC cryptids@yip.gay

                                  Is there any way on Mastodon to automatically filter out image posts with no alt text?

                                  Please boost- this is an actual question

                                  zimpenfish@social.rjp.isZ This user is from outside of this forum
                                  zimpenfish@social.rjp.isZ This user is from outside of this forum
                                  zimpenfish@social.rjp.is
                                  wrote sidst redigeret af
                                  #26
                                  @cryptids I can't see an obvious way to do this directly on Pleroma or GotoSocial (the instance types I run) but at least with Pleroma/Akkoma I think you could write an MRF (https://docs-develop.pleroma.social/backend/configuration/mrf/) to do it (and I'll have a go later, just to see if it's possible.)

                                  (Had a look in the Mastodon code but can't see anything obvious there either.)
                                  1 Reply Last reply
                                  0
                                  • cryptids@yip.gayC cryptids@yip.gay

                                    @det Yeah I did some looking into it and all I could find was a uBlock filter for it (and an old feature request thread on Github) 😕

                                    Shame, I guess I'll just resort to muting people or something

                                    lizette603_23@mastodon.socialL This user is from outside of this forum
                                    lizette603_23@mastodon.socialL This user is from outside of this forum
                                    lizette603_23@mastodon.social
                                    wrote sidst redigeret af
                                    #27

                                    @cryptids that's what I do

                                    1 Reply Last reply
                                    0
                                    • leon@social.sawpitgully.netL leon@social.sawpitgully.net
                                      @cryptids I think @alice has said she has a tool for filtering out images without alt text, but I had trouble searching her posts, so the best I found was this. https://lgbtqia.space/@alice/116200750952476282
                                      alice@lgbtqia.spaceA This user is from outside of this forum
                                      alice@lgbtqia.spaceA This user is from outside of this forum
                                      alice@lgbtqia.space
                                      wrote sidst redigeret af
                                      #28

                                      @cryptids yup, I'm using Moshidon for Android, and there's an option to hide posts without alt-text, as well as warn before posting media without alt-text.

                                      @leon I have a 7-day auto-delete setting (except on bookmarked posts), which is probably why you couldn't find it 🫂

                                      Also, #NotAGirl 🩷

                                      leon@social.sawpitgully.netL 1 Reply Last reply
                                      0
                                      • alice@lgbtqia.spaceA alice@lgbtqia.space

                                        @cryptids yup, I'm using Moshidon for Android, and there's an option to hide posts without alt-text, as well as warn before posting media without alt-text.

                                        @leon I have a 7-day auto-delete setting (except on bookmarked posts), which is probably why you couldn't find it 🫂

                                        Also, #NotAGirl 🩷

                                        leon@social.sawpitgully.netL This user is from outside of this forum
                                        leon@social.sawpitgully.netL This user is from outside of this forum
                                        leon@social.sawpitgully.net
                                        wrote sidst redigeret af
                                        #29
                                        @alice @cryptids Thanks for the details! And whoops, sorry about that.
                                        1 Reply Last reply
                                        0
                                        • cryptids@yip.gayC cryptids@yip.gay

                                          @det Yeah I did some looking into it and all I could find was a uBlock filter for it (and an old feature request thread on Github) 😕

                                          Shame, I guess I'll just resort to muting people or something

                                          acm_redfox@jawns.clubA This user is from outside of this forum
                                          acm_redfox@jawns.clubA This user is from outside of this forum
                                          acm_redfox@jawns.club
                                          wrote sidst redigeret af
                                          #30

                                          @cryptids I do a lot of # Alt4You replying, which sometimes helps nudge people along...

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper