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.
  • 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

    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
    #6

    @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

    catsalad@infosec.exchangeC unixwitch@social.tchncs.deU nightdice@unfug.socialN ericlawton@kolektiva.socialE 4 Replies 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

      catsalad@infosec.exchangeC This user is from outside of this forum
      catsalad@infosec.exchangeC This user is from outside of this forum
      catsalad@infosec.exchange
      wrote sidst redigeret af
      #7

      @sortius @cryptids Same. It would be so much nicer to have them filtered

      davidm_yeg@mstdn.caD 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

        samerion@mastodon.gamedev.placeS This user is from outside of this forum
        samerion@mastodon.gamedev.placeS This user is from outside of this forum
        samerion@mastodon.gamedev.place
        wrote sidst redigeret af
        #8

        @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 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

          promovicz@chaos.socialP This user is from outside of this forum
          promovicz@chaos.socialP This user is from outside of this forum
          promovicz@chaos.social
          wrote sidst redigeret af
          #9

          @cryptids Our instance has "red line" markers on those images, and I think that's mostly CSS - so you can add a "user CSS" rule with a browser plugin to hide them. It might be part custom - I don't know.

          There have also been guides for uBlock Origin and similar:
          https://neilzone.co.uk/2024/02/suppressing-posts-containing-images-with-no-alt-text-in-the-mastodon-advanced-web-ui-via-ublock-origin/

          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

            unixwitch@social.tchncs.deU This user is from outside of this forum
            unixwitch@social.tchncs.deU This user is from outside of this forum
            unixwitch@social.tchncs.de
            wrote sidst redigeret af
            #10

            @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 1 Reply Last reply
            0
            • 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
                                          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