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

    det@critter.cafeD This user is from outside of this forum
    det@critter.cafeD This user is from outside of this forum
    det@critter.cafe
    wrote sidst redigeret af
    #2

    @cryptids i would *love* this, but
    last i looked into it, no

    cryptids@yip.gayC 1 Reply Last reply
    0
    • det@critter.cafeD det@critter.cafe

      @cryptids i would *love* this, but
      last i looked into it, no

      cryptids@yip.gayC This user is from outside of this forum
      cryptids@yip.gayC This user is from outside of this forum
      cryptids@yip.gay
      wrote sidst redigeret af
      #3

      @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

      det@critter.cafeD u0421793@catodon.rocksU luna@neopaquita.esL lizette603_23@mastodon.socialL acm_redfox@jawns.clubA 5 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

        det@critter.cafeD This user is from outside of this forum
        det@critter.cafeD This user is from outside of this forum
        det@critter.cafe
        wrote sidst redigeret af
        #4

        @cryptids i suppose that might work
        i generally just try to avoid following folks who dont do media with alt text, usually if they alt text media most of what they boost will have alt text too, even if they dont care about if others do alt text or not

        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

          qwyrdo@disabled.socialQ This user is from outside of this forum
          qwyrdo@disabled.socialQ This user is from outside of this forum
          qwyrdo@disabled.social
          wrote sidst redigeret af
          #5

          @cryptids Right now I don't think so. We'd need to reach out to developers to put in a feature request, methinks. I have no idea how that works.

          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

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